summaryrefslogtreecommitdiffstats
path: root/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-05-06 18:45:01 +0000
committerRoy Marples <roy@marples.name>2016-05-06 18:45:01 +0000
commit857a98fcf99032236447fb61ff3a883a46e35115 (patch)
tree2aa248f315a4b841f92649ca162a46125009dc5c /ipv6.c
parent7c23c7aee9f0ccd16aeca9f2eba5ee0f8182ffa6 (diff)
downloaddhcpcd-857a98fcf99032236447fb61ff3a883a46e35115.tar.xz
Don't install a reject route if the prefix is the same as the delegation, [efc359da01].
Diffstat (limited to 'ipv6.c')
-rw-r--r--ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipv6.c b/ipv6.c
index baa2c527..520ddcf3 100644
--- a/ipv6.c
+++ b/ipv6.c
@@ -2163,8 +2163,8 @@ make_prefix(const struct interface *ifp, const struct ra *rap,
!(addr->flags & (IPV6_AF_ONLINK | IPV6_AF_DELEGATEDPFX)))
return NULL;
- /* Don't install a blackhole route when not creating bigger prefixes */
- if (addr->flags & IPV6_AF_DELEGATEDZERO)
+ /* Don't install a reject route when not creating bigger prefixes */
+ if (addr->flags & IPV6_AF_NOREJECT)
return NULL;
r = make_route(ifp, rap);