From: Roy Marples Date: Mon, 18 Feb 2013 08:13:43 +0000 (+0000) Subject: If we fail to send an IPv6 RS then DHCP6 won't work either. X-Git-Tag: v5.99.6~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b9cd6f05be449eca96fa20ed319669e31d9668b;p=thirdparty%2Fdhcpcd.git If we fail to send an IPv6 RS then DHCP6 won't work either. --- diff --git a/ipv6rs.c b/ipv6rs.c index f71db5bb..783e56c4 100644 --- a/ipv6rs.c +++ b/ipv6rs.c @@ -260,7 +260,7 @@ ipv6rs_sendprobe(void *arg) if (sendmsg(sock, &sndhdr, 0) == -1) { syslog(LOG_ERR, "%s: sendmsg: %m", ifp->name); ipv6rs_drop(ifp); - ifp->options->options &= ~DHCPCD_IPV6RS; + ifp->options->options &= ~(DHCPCD_IPV6 | DHCPCD_IPV6RS); return; }