diff options
| author | Roy Marples <roy@marples.name> | 2020-08-03 16:55:51 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-08-03 16:55:51 +0100 |
| commit | c87f17c64c513a9495deb6b0749d90be529af79b (patch) | |
| tree | a35bc4585dda06071f1a5eefc039080a2fe66cdb | |
| parent | 6b4c7dd7218ee83d4b2fa1fdd210a1393df7be7a (diff) | |
| download | dhcpcd-c87f17c64c513a9495deb6b0749d90be529af79b.tar.xz | |
inet6: Linux will convert NULL to all, so don't specify all
| -rw-r--r-- | src/ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1100,10 +1100,10 @@ ipv6_anyglobal(struct interface *sifp) * Per interface only affects IsRouter of NA messages. */ #if defined(PRIVSEP) && (defined(HAVE_PLEDGE) || defined(__linux__)) if (IN_PRIVSEP(sifp->ctx)) - forwarding = ps_root_ip6forwarding(sifp->ctx, "all") != 0; + forwarding = ps_root_ip6forwarding(sifp->ctx, NULL) != 0; else #endif - forwarding = ip6_forwarding("all") != 0; + forwarding = ip6_forwarding(NULL) != 0; TAILQ_FOREACH(ifp, sifp->ctx->ifaces, next) { if (ifp != sifp && !forwarding) |
