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

This commit is contained in:
Simon Kelley
2012-03-24 14:40:42 +00:00
parent 38a59a9ff7
commit 5d71d83420

View File

@@ -693,12 +693,12 @@ int main (int argc, char **argv)
{
FD_SET(daemon->dhcp6fd, &rset);
bump_maxfd(daemon->dhcp6fd, &maxfd);
}
if (daemon->ra_contexts)
{
FD_SET(daemon->icmp6fd, &rset);
bump_maxfd(daemon->icmp6fd, &maxfd);
}
if (daemon->ra_contexts)
{
FD_SET(daemon->icmp6fd, &rset);
bump_maxfd(daemon->icmp6fd, &maxfd);
}
#endif