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
commitcc2d257183f1a70c013a451d6b16cd061e6e5975 (patch)
treea5b0bd6b799e59714196e5774b67f239c7162b86 /src/ipv6nd.c
parent756049bc78b4345afe35005587eace51dec689c4 (diff)
downloaddhcpcd-cc2d257183f1a70c013a451d6b16cd061e6e5975.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) {