Commit 5d71d834 authored by Simon Kelley's avatar Simon Kelley

Listen on ICMP6 file decriptor even when on ra-only only in use.

parent 38a59a9f
...@@ -693,13 +693,13 @@ int main (int argc, char **argv) ...@@ -693,13 +693,13 @@ int main (int argc, char **argv)
{ {
FD_SET(daemon->dhcp6fd, &rset); FD_SET(daemon->dhcp6fd, &rset);
bump_maxfd(daemon->dhcp6fd, &maxfd); bump_maxfd(daemon->dhcp6fd, &maxfd);
}
if (daemon->ra_contexts) if (daemon->ra_contexts)
{ {
FD_SET(daemon->icmp6fd, &rset); FD_SET(daemon->icmp6fd, &rset);
bump_maxfd(daemon->icmp6fd, &maxfd); bump_maxfd(daemon->icmp6fd, &maxfd);
} }
}
#endif #endif
#ifdef HAVE_LINUX_NETWORK #ifdef HAVE_LINUX_NETWORK
......
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