summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-04-30 21:13:45 +0100
committerRoy Marples <roy@marples.name>2020-04-30 21:13:45 +0100
commit949d0f9aee6aefa461c949262202af12fa8143cf (patch)
treea5b0bd6b799e59714196e5774b67f239c7162b86 /src/ipv6nd.c
parent257dae21343e899ad2667aac9b981fa427b7541b (diff)
downloaddhcpcd-949d0f9aee6aefa461c949262202af12fa8143cf.tar.xz
privsep: Add --chroot configurable
Overrides the directory to chroot to away from the privilege separation users home directory.
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c
index 77719041..73df9109 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -1141,8 +1141,10 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx,
if (ifp == rap->iface)
break;
}
- if (rap != NULL && rap->willexpire)
+ if (rap != NULL && rap->willexpire) {
+ logerrx("settng def RA");
ipv6nd_applyra(ifp);
+ }
#endif
TAILQ_FOREACH(rap, ctx->ra_routers, next) {