mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-03 13:38:32 +00:00
Putative fix to crash in IPv4 DHCP, introduced whilst
generalising the DHCP option filter code: don't match options against context tag when context->netid.net == NULL, since there's no tag then.
This commit is contained in:
1 parent
60ac5af682
commit
6caacacf6d
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -102,7 +102,7 @@ struct dhcp_netid *option_filter(struct dhcp_netid *tags, struct dhcp_netid *con
|
||||
}
|
||||
|
||||
/* now flag options which are valid, including the context tags,
|
||||
otherwise valid options are inhibited if we found a higher priotity one above */
|
||||
otherwise valid options are inhibited if we found a higher priority one above */
|
||||
if (context_tags)
|
||||
{
|
||||
struct dhcp_netid *last_tag;
|
||||
|
||||
Reference in new issue
Block a user