diff options
| author | Roy Marples <roy@marples.name> | 2020-05-24 12:30:13 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-05-24 12:30:13 +0100 |
| commit | 5aca43094dfbb69053877f3eb45a410157443b0f (patch) | |
| tree | 2938d9e6a12fe9172736ddaa2581b40853ced895 /src/ipv6.c | |
| parent | 00bb5ee068f7a72a516360913c95c639ef7e7518 (diff) | |
| download | dhcpcd-5aca43094dfbb69053877f3eb45a410157443b0f.tar.xz | |
Fix prior for BSD
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1093,11 +1093,10 @@ ipv6_anyglobal(struct interface *sifp) #if defined(PRIVSEP) && defined(HAVE_PLEDGE) if (IN_PRIVSEP(sifp->ctx)) - forwarding = ps_root_ip6forwarding(sifp->ctx) == 1; + forwarding = ps_root_ip6forwarding(sifp->ctx, NULL) == 1; else -#else - forwarding = ip6_forwarding(NULL) == 1; #endif + forwarding = ip6_forwarding(NULL) == 1; #endif |
