mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-20 02:38:32 +00:00
Fix non-response to router-solicitations when
router-advertisement configured, but DHCPv6 not configured.
This commit is contained in:
@@ -12,6 +12,10 @@ version 2.62
|
|||||||
which are not divisible by 8. Thanks to Andre Coetzee
|
which are not divisible by 8. Thanks to Andre Coetzee
|
||||||
for spotting this.
|
for spotting this.
|
||||||
|
|
||||||
|
Fix non-response to router-solicitations when
|
||||||
|
router-advertisement configured, but DHCPv6 not
|
||||||
|
configured. Thanks to Marien Zwart for the patch.
|
||||||
|
|
||||||
|
|
||||||
version 2.61
|
version 2.61
|
||||||
Re-write interface discovery code on *BSD to use
|
Re-write interface discovery code on *BSD to use
|
||||||
|
|||||||
@@ -849,14 +849,11 @@ int main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_DHCP6
|
#ifdef HAVE_DHCP6
|
||||||
if (daemon->dhcp6)
|
if (daemon->dhcp6 && FD_ISSET(daemon->dhcp6fd, &rset))
|
||||||
{
|
dhcp6_packet(now);
|
||||||
if (FD_ISSET(daemon->dhcp6fd, &rset))
|
|
||||||
dhcp6_packet(now);
|
|
||||||
|
|
||||||
if (daemon->ra_contexts && FD_ISSET(daemon->icmp6fd, &rset))
|
if (daemon->ra_contexts && FD_ISSET(daemon->icmp6fd, &rset))
|
||||||
icmp6_packet();
|
icmp6_packet();
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# ifdef HAVE_SCRIPT
|
# ifdef HAVE_SCRIPT
|
||||||
|
|||||||
Reference in New Issue
Block a user