]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
If the prefix is not on link, nor autoconf and we don't know about it
authorRoy Marples <roy@marples.name>
Fri, 14 Feb 2014 09:13:19 +0000 (09:13 +0000)
committerRoy Marples <roy@marples.name>
Fri, 14 Feb 2014 09:13:19 +0000 (09:13 +0000)
then just continue instead of logging a bogus error.
Thanks to David Purser.

ipv6nd.c

index 2e8a4e9340569a6f4895b4a0dfb56eac0605383b..e77632ad48d638b9cfe2f8c08fb5b2f488634843 100644 (file)
--- a/ipv6nd.c
+++ b/ipv6nd.c
@@ -809,7 +809,7 @@ ipv6nd_handlera(struct ipv6_ctx *ctx, struct interface *ifp,
                                    ND_OPT_PI_FLAG_AUTO) &&
                                    !(pi->nd_opt_pi_flags_reserved &
                                    ND_OPT_PI_FLAG_ONLINK))
-                                       break;
+                                       continue;
                                ap = calloc(1, sizeof(*ap));
                                if (ap == NULL) {
                                        syslog(LOG_ERR, "%s: %m", __func__);