summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-06-14 17:05:24 +0100
committerRoy Marples <roy@marples.name>2019-06-14 17:05:24 +0100
commit6da1356363264bcfb6237797965ef59c234fa795 (patch)
tree7fbe6a87728a2a9f42de5a7dc93cc0e37a81d02f /src/dhcpcd.c
parent44f9b62cfa3914d5acdee68c3fb9ca3e6168847e (diff)
downloaddhcpcd-6da1356363264bcfb6237797965ef59c234fa795.tar.xz
RA: expire whole RA on carrier up
If preserving IP, we need to expire the whole RA now that we care about RDNSS and DNSSL lifetimes. Cheat by setting the aquired time to something very low so it all expires.
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index 981134b4..fc500353 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -782,7 +782,7 @@ dhcpcd_handlecarrier(struct dhcpcd_ctx *ctx, int carrier, unsigned int flags,
/* Set any IPv6 Routers we remembered to expire
* faster than they would normally as we
* maybe on a new network. */
- ipv6nd_expire(ifp, RTR_CARRIER_EXPIRE);
+ ipv6nd_startexpire(ifp);
#endif
/* RFC4941 Section 3.5 */
ipv6_gentempifid(ifp);