diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2023-04-12 22:55:14 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2023-04-12 22:55:14 +0100 |
commit | aaba66efbd3b4e7283993ca3718df47706a8549b (patch) | |
tree | e17877af52d9ae0e71c3294127ad46a642f813f3 /src/dhcp6.c | |
parent | 597378cdf55b248a54b930fa31acbad7415aaefd (diff) | |
download | dnsmasq-aaba66efbd3b4e7283993ca3718df47706a8549b.tar.gz |
Add --no-dhcpv4-interface and --no-dhcpv6-interface options.
Diffstat (limited to 'src/dhcp6.c')
-rw-r--r-- | src/dhcp6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dhcp6.c b/src/dhcp6.c index 9ae92da..7eeef03 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -159,7 +159,8 @@ void dhcp6_packet(time_t now) return; for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next) - if (tmp->name && wildcard_match(tmp->name, ifr.ifr_name)) + if (tmp->name && (tmp->flags & INAME_6) && + wildcard_match(tmp->name, ifr.ifr_name)) return; parm.current = NULL; |