summaryrefslogtreecommitdiffstats
path: root/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2013-11-14 10:20:32 +0000
committerRoy Marples <roy@marples.name>2013-11-14 10:20:32 +0000
commite92ca600eddea83ea2910ee8a9e9133b919963d0 (patch)
tree6ed3920d37c0d28168783ad01da60c5db3fd65a5 /ipv6nd.c
parent0b4a1931f32f1677639d39fe743b2489ecee9431 (diff)
downloaddhcpcd-e92ca600eddea83ea2910ee8a9e9133b919963d0.tar.xz
CID 1102809: Fix uninitialised variable.
Thanks to Christos Zoulas.
Diffstat (limited to 'ipv6nd.c')
-rw-r--r--ipv6nd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipv6nd.c b/ipv6nd.c
index c8c3ed28..b066112b 100644
--- a/ipv6nd.c
+++ b/ipv6nd.c
@@ -570,6 +570,7 @@ ipv6nd_dadcallback(void *arg)
if (rap->iface != ifp)
continue;
wascompleted = 1;
+ found = 0;
TAILQ_FOREACH(rapap, &rap->addrs, next) {
if (rapap->flags & IPV6_AF_AUTOCONF &&
(rapap->flags & IPV6_AF_DADCOMPLETED) == 0)