diff options
| author | Roy Marples <roy@marples.name> | 2016-05-06 20:09:09 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-05-06 20:09:09 +0000 |
| commit | be315919fa4ca9cb38861ce5c29abd0f32543092 (patch) | |
| tree | 85e6e31d71b491c7149b60d7216044c8b0b590e4 /ipv6.c | |
| parent | 857a98fcf99032236447fb61ff3a883a46e35115 (diff) | |
| download | dhcpcd-be315919fa4ca9cb38861ce5c29abd0f32543092.tar.xz | |
Fix a bogus clang analyzer warning on BSD by moving an assignment slightly higher up.
Diffstat (limited to 'ipv6.c')
| -rw-r--r-- | ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1208,8 +1208,8 @@ ipv6_addlinklocal(struct interface *ifp) if (ap == NULL) return -1; + dadcounter = 0; if (ifp->options->options & DHCPCD_SLAACPRIVATE) { - dadcounter = 0; nextslaacprivate: if (ipv6_makestableprivate(&ap->addr, &ap->prefix, ap->prefix_len, ifp, &dadcounter) == -1) |
