changeset 2152:0721e8a732fd draft

CID 1102809: Fix uninitialised variable. Thanks to Christos Zoulas.
author Roy Marples <roy@marples.name>
date Thu, 14 Nov 2013 10:20:32 +0000
parents 8375e48bda05
children 56758aee2985
files ipv6nd.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ipv6nd.c	Thu Nov 14 10:02:29 2013 +0000
+++ b/ipv6nd.c	Thu Nov 14 10:20:32 2013 +0000
@@ -570,6 +570,7 @@
 			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)