summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-01 22:52:43 +0000
committerRoy Marples <roy@marples.name>2020-01-01 22:52:43 +0000
commit2b18b85b2b0c455920b285c7069c6e0c2bfc8d0e (patch)
tree7c4889e2088f2052c98201de2c75ab89d5fa4f7f /src/ipv6nd.c
parentb0def146eb51be2fb7bca426573ded1fcc7332c2 (diff)
downloaddhcpcd-2b18b85b2b0c455920b285c7069c6e0c2bfc8d0e.tar.xz
inet6: Adjust prior so that we don't support old kernels
Mulitplying retrans could overflow on 32-bit kernels with big timers, so just don't bother.
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c
index c2f592b0..0f9b050e 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -645,7 +645,7 @@ ipv6nd_applyra(struct dhcpcd_ctx *ctx, struct interface *ifp)
return;
state->retrans = rap->retrans;
- if (if_applyra(rap) == -1)
+ if (if_applyra(rap) == -1 && errno != ENOENT)
logerr(__func__);
}