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,12 +693,12 @@ int main (int argc, char **argv) ...@@ -693,12 +693,12 @@ 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); {
bump_maxfd(daemon->icmp6fd, &maxfd); FD_SET(daemon->icmp6fd, &rset);
} bump_maxfd(daemon->icmp6fd, &maxfd);
} }
#endif #endif
......
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