Skip to content

Conversation

pemensik
Copy link
Collaborator

Prior to commit 137286e
a config would not be considered in context if:
a) it has no address family flags set
b) it has the address family flag of current context set

Since above commit config is considered in context if the
address family is the opposite of current context.

The result is that a config with two dhcp-host records,
one for IPv6 and another for IPv4 no longer works, for
example with the below config the config with the IPv6
address would be considered in context for a DHCP(v4)
request.
 dhcp-host=52:54:00:bc:c3:fd,172.20.0.11,host2
 dhcp-host=52:54:00:bc:c3:fd,[fd12:3456:789a:1::aadd],host2

This commit restores the previous behavior.
@pemensik pemensik changed the base branch from openssl to master May 11, 2020 18:20
@pemensik pemensik changed the base branch from master to unittests May 14, 2020 13:13
@pemensik pemensik changed the base branch from unittests to master May 14, 2020 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants