From: Roy Marples Date: Thu, 14 Nov 2013 10:20:32 +0000 (+0000) Subject: CID 1102809: Fix uninitialised variable. X-Git-Tag: v6.2.0~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e92ca600eddea83ea2910ee8a9e9133b919963d0;p=thirdparty%2Fdhcpcd.git CID 1102809: Fix uninitialised variable. Thanks to Christos Zoulas. --- 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)