From: Roy Marples Date: Thu, 14 Sep 2017 11:59:31 +0000 (+0100) Subject: Use braces to clarify. X-Git-Tag: v7.0.0-rc2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8e1e51c1fe4a67ab4f7b74df44a38b80f801bd8;p=thirdparty%2Fdhcpcd.git Use braces to clarify. --- diff --git a/src/dhcp6.c b/src/dhcp6.c index 2c88c6f6..571bdc1b 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -1349,10 +1349,11 @@ dhcp6_dadcallback(void *arg) wascompleted = (ia->flags & IPV6_AF_DADCOMPLETED); ia->flags |= IPV6_AF_DADCOMPLETED; - if (ia->flags & IPV6_AF_DUPLICATED) + if (ia->flags & IPV6_AF_DUPLICATED) { /* XXX FIXME * We should decline the address */ logwarnx("%s: DAD detected %s", ia->iface->name, ia->saddr); + } if (!wascompleted) { ifp = ia->iface;