]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Reset no default warning on new data.
authorRoy Marples <roy@marples.name>
Fri, 3 Apr 2015 23:43:42 +0000 (23:43 +0000)
committerRoy Marples <roy@marples.name>
Fri, 3 Apr 2015 23:43:42 +0000 (23:43 +0000)
ipv6nd.c

index a58d7ce103d9dc109e8ab08d07117030e8f63a8f..0a95c5c6db4219f004881bef002957f4a6b556a7 100644 (file)
--- a/ipv6nd.c
+++ b/ipv6nd.c
@@ -760,6 +760,7 @@ ipv6nd_handlera(struct dhcpcd_ctx *dctx, struct interface *ifp,
                if (rap) {
                        free(rap->data);
                        rap->data_len = 0;
+                       rap->no_default_warned = 0;
                }
                new_data = 1;
        } else