diff options
| author | Michael Biebl <biebl@debian.org> | 2020-01-31 12:13:40 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2020-01-31 12:13:40 +0100 |
| commit | 7d548822e672c0e8a580ae52d8f8df7f011103cd (patch) | |
| tree | 9a592708c2f3245f60b8adf4fb3f2db61dff60b6 /src/ndisc | |
| parent | 55780b62324ba5492ce2670817fc0a8c209cc138 (diff) | |
| parent | f3c6d0765dff885e168b94f28e06ecc640315a74 (diff) | |
Update upstream source from tag 'upstream/1.22.6'
Update to upstream version '1.22.6' with Debian dir dd9b100f674653057e9629a59eec828fcacf66ad
Diffstat (limited to 'src/ndisc')
| -rw-r--r-- | src/ndisc/nm-ndisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ndisc/nm-ndisc.c b/src/ndisc/nm-ndisc.c index 41201e24..8dda03a7 100644 --- a/src/ndisc/nm-ndisc.c +++ b/src/ndisc/nm-ndisc.c @@ -923,7 +923,7 @@ nm_ndisc_start (NMNDisc *ndisc) switch (priv->node_type) { case NM_NDISC_NODE_TYPE_HOST: ra_wait_secs = (((gint64) priv->router_solicitations) * priv->router_solicitation_interval) + 1; - ra_wait_secs = CLAMP (ra_wait_secs, 30, 120); + ra_wait_secs = MAX (ra_wait_secs, 30); priv->ra_timeout_id = g_timeout_add_seconds (ra_wait_secs, ndisc_ra_timeout_cb, ndisc); _LOGD ("scheduling RA timeout in %d seconds", (int) ra_wait_secs); solicit_routers (ndisc); |