commit | 5d71d8342096fcb45054a9f94ad70da26aab7400 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sat Mar 24 14:40:42 2012 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sat Mar 24 14:40:42 2012 +0000 |
tree | 30467727ccce53b741b8323f0a8d345bc0cf5406 | |
parent | 38a59a9ff7c8f251469ed934655178c33bf31ffc [diff] [blame] |
Listen on ICMP6 file decriptor even when on ra-only only in use.
diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 8663aa3..92084a8 100644 --- a/src/dnsmasq.c +++ b/src/dnsmasq.c
@@ -693,12 +693,12 @@ { 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