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

This commit is contained in:
Simon Kelley committed 2012-03-24 14:40:42 +00:00
1 parent 38a59a9ff7
commit 5d71d83420
1 file changed
+6 -6
+6 -6
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