]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
PD delegates should be on link
authorRoy Marples <roy@marples.name>
Fri, 31 May 2013 14:44:57 +0000 (14:44 +0000)
committerRoy Marples <roy@marples.name>
Fri, 31 May 2013 14:44:57 +0000 (14:44 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 196f7c8bb89357f3d67ffb23b50e74936789fb14..a2f06f9f9e6ef0f782d37d244e4a193c1a1e8106 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -1240,7 +1240,7 @@ dhcp6_findpd(struct interface *ifp, const uint8_t *iaid,
                        break;
                }
                a->iface = ifp;
-               a->flags = IPV6_AF_NEW;
+               a->flags = IPV6_AF_NEW | IPV6_AF_ONLINK;
                a->dadcallback = dhcp6_dadcallback;
                memcpy(a->iaid, iaid, sizeof(a->iaid));
                p = D6_COPTION_DATA(o);