mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
515ba97595e60c762c448657f3c0e545c1e365f9
The previous code here, which started fast-RA whenever that local address associated with a DHCP context changed, is very vulnerable to flapping due to dynamically created addresses in the same net. Simplify so that if a context which has never found an interface now finds one, that gets advertised, but not for other changes. That satisfies the original intention that prefixes not in place when dnsmasq starts should be recognised. Also totally ignore all interfaces where we are configured not to do DHCP, to preclude flapping of they have prefixes in common with interfaces where we do DHCP.
Description
No description provided
Languages
C
94.2%
Perl
2.3%
HTML
1.2%
Shell
1.1%
Makefile
0.6%
Other
0.6%