mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Garbage collect listening sockets when their address is deleted.
In --bind-dynamic mode, stop listening on an address when it's removed from an interface. 6rd and 6to4 tunnels can go through lots of addresses.
This commit is contained in:
@@ -459,7 +459,7 @@ struct ipsets {
|
||||
struct irec {
|
||||
union mysockaddr addr;
|
||||
struct in_addr netmask; /* only valid for IPv4 */
|
||||
int tftp_ok, dhcp_ok, mtu, done, warned, dad, dns_auth, index, multicast_done;
|
||||
int tftp_ok, dhcp_ok, mtu, done, warned, dad, dns_auth, index, multicast_done, found;
|
||||
char *name;
|
||||
struct irec *next;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user