]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
If we fail to send an IPv6 RS then DHCP6 won't work either.
authorRoy Marples <roy@marples.name>
Mon, 18 Feb 2013 08:13:43 +0000 (08:13 +0000)
committerRoy Marples <roy@marples.name>
Mon, 18 Feb 2013 08:13:43 +0000 (08:13 +0000)
ipv6rs.c

index f71db5bb197052422693abea2fd57c707e70b18c..783e56c498578d7f70d46d8ebffe628e5aa0a0f8 100644 (file)
--- 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;
        }