diff options
| author | Roy Marples <roy@marples.name> | 2013-11-14 10:20:32 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2013-11-14 10:20:32 +0000 |
| commit | e92ca600eddea83ea2910ee8a9e9133b919963d0 (patch) | |
| tree | 6ed3920d37c0d28168783ad01da60c5db3fd65a5 /ipv6nd.c | |
| parent | 0b4a1931f32f1677639d39fe743b2489ecee9431 (diff) | |
| download | dhcpcd-e92ca600eddea83ea2910ee8a9e9133b919963d0.tar.xz | |
CID 1102809: Fix uninitialised variable.
Thanks to Christos Zoulas.
Diffstat (limited to 'ipv6nd.c')
| -rw-r--r-- | ipv6nd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |
