dhcp-ignore and dhcp-match implemented for DHCPv6 now.

This commit is contained in:
Simon Kelley
2012-02-08 14:22:37 +00:00
parent d74942a03d
commit 3634c54e8d
5 changed files with 100 additions and 36 deletions

View File

@@ -1333,6 +1333,11 @@ static char *parse_dhcp_opt(char *arg, int flags)
!new->netid ||
new->netid->next)
problem = _("illegal dhcp-match");
else if (is6)
{
new->next = daemon->dhcp_match6;
daemon->dhcp_match6 = new;
}
else
{
new->next = daemon->dhcp_match;