Commit 2f38141f authored by Simon Kelley's avatar Simon Kelley

Don't elide code needed for --bind-dynamic if compiled without IPv6.

parent 8e4b8791
...@@ -371,9 +371,9 @@ static int nl_async(struct nlmsghdr *h) ...@@ -371,9 +371,9 @@ static int nl_async(struct nlmsghdr *h)
} }
return 0; return 0;
} }
#ifdef HAVE_DHCP6
else if (h->nlmsg_type == RTM_NEWADDR) else if (h->nlmsg_type == RTM_NEWADDR)
{ {
#ifdef HAVE_DHCP6
/* force RAs to sync new network and pick up new interfaces. */ /* force RAs to sync new network and pick up new interfaces. */
if (daemon->ra_contexts) if (daemon->ra_contexts)
{ {
...@@ -383,9 +383,9 @@ static int nl_async(struct nlmsghdr *h) ...@@ -383,9 +383,9 @@ static int nl_async(struct nlmsghdr *h)
iface_enumerate and can't re-enter it now */ iface_enumerate and can't re-enter it now */
send_alarm(0, 0); send_alarm(0, 0);
} }
return 1; /* clever bind mode - rescan */
}
#endif #endif
return 1; /* clever bind mode - rescan */
}
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment