Module Name: src
Committed By: christos
Date: Thu Nov 14 01:28:17 UTC 2013
Modified Files:
src/external/bsd/dhcpcd/dist: ipv6nd.c
Log Message:
CID 1102809: Fix uninitialized variable
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/dhcpcd/dist/ipv6nd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/dhcpcd/dist/ipv6nd.c
diff -u src/external/bsd/dhcpcd/dist/ipv6nd.c:1.1.1.1 src/external/bsd/dhcpcd/dist/ipv6nd.c:1.2
--- src/external/bsd/dhcpcd/dist/ipv6nd.c:1.1.1.1 Fri Sep 20 06:51:29 2013
+++ src/external/bsd/dhcpcd/dist/ipv6nd.c Wed Nov 13 20:28:16 2013
@@ -1,5 +1,5 @@
#include <sys/cdefs.h>
- __RCSID("$NetBSD: ipv6nd.c,v 1.1.1.1 2013/09/20 10:51:29 roy Exp $");
+ __RCSID("$NetBSD: ipv6nd.c,v 1.2 2013/11/14 01:28:16 christos Exp $");
/*
* dhcpcd - DHCP client daemon
@@ -568,6 +568,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)