summaryrefslogtreecommitdiff
path: root/src/dhcp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcp6.c')
-rw-r--r--src/dhcp6.c3
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;