diff options
| author | Michael Biebl <biebl@debian.org> | 2022-12-18 21:31:39 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-12-18 21:31:39 +0100 |
| commit | 2965dc70bb3cbfa8de2f279761812b84b87600cb (patch) | |
| tree | 90d4a861f7cd7a05834e7328af7677e7c8acd17f /src/core/ndisc | |
| parent | 6e9d10e114f94799d54bb3dabc66e35ab4e3e8cd (diff) | |
New upstream version 1.40.8 upstream/1.40.8
Diffstat (limited to 'src/core/ndisc')
| -rw-r--r-- | src/core/ndisc/nm-ndisc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ndisc/nm-ndisc.c b/src/core/ndisc/nm-ndisc.c index 04b673e5..9a6038d4 100644 --- a/src/core/ndisc/nm-ndisc.c +++ b/src/core/ndisc/nm-ndisc.c @@ -1609,27 +1609,27 @@ calc_pre_expiry_rs_msec(NMNDisc *ndisc) _calc_pre_expiry_rs_msec_worker( &expiry_msec, priv->last_rs_msec, - g_array_index(rdata->addresses, NMNDiscAddress, 0).expiry_msec); + g_array_index(rdata->addresses, NMNDiscAddress, i).expiry_msec); } for (i = 0; i < rdata->routes->len; i++) { _calc_pre_expiry_rs_msec_worker(&expiry_msec, priv->last_rs_msec, - g_array_index(rdata->routes, NMNDiscRoute, 0).expiry_msec); + g_array_index(rdata->routes, NMNDiscRoute, i).expiry_msec); } for (i = 0; i < rdata->dns_servers->len; i++) { _calc_pre_expiry_rs_msec_worker( &expiry_msec, priv->last_rs_msec, - g_array_index(rdata->dns_servers, NMNDiscDNSServer, 0).expiry_msec); + g_array_index(rdata->dns_servers, NMNDiscDNSServer, i).expiry_msec); } for (i = 0; i < rdata->dns_domains->len; i++) { _calc_pre_expiry_rs_msec_worker( &expiry_msec, priv->last_rs_msec, - g_array_index(rdata->dns_domains, NMNDiscDNSDomain, 0).expiry_msec); + g_array_index(rdata->dns_domains, NMNDiscDNSDomain, i).expiry_msec); } return expiry_msec - solicit_retransmit_time_jitter(NM_NDISC_PRE_EXPIRY_TIME_MSEC); |