diff options
| author | Roy Marples <roy@marples.name> | 2020-02-06 14:59:24 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-02-06 15:01:17 +0000 |
| commit | 844132689469ece7734605b304b0cda4d15b5074 (patch) | |
| tree | 704188c7fc9b198d6a5e8eee4324c86c1bdb87aa /src/ipv6nd.c | |
| parent | 22c113b4b658cec21fe2ac5fb8039900b24420ad (diff) | |
| download | dhcpcd-844132689469ece7734605b304b0cda4d15b5074.tar.xz | |
inet6: Swap between DISCOVER and INFORM better
Most of the time this will be dictated by the RA, but let our
config decide as well.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 58da9562..eeea69af 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -1115,6 +1115,8 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx, * routers like to decrease the advertised valid and preferred times * in accordance with the own prefix times which would result in too * much needless log spam. */ + if (rap->willexpire) + new_data = true; logfunc = new_data || !rap->isreachable ? loginfox : logdebugx, logfunc("%s: Router Advertisement from %s", ifp->name, rap->sfrom); |
