mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Allow IPv6 addresses ofthe form [::ffff:1.2.3.4] in --dhcp-option.
This commit is contained in:
@@ -1225,7 +1225,7 @@ static int parse_dhcp_opt(char *errstr, char *arg, int flags)
|
|||||||
}
|
}
|
||||||
else if (c == '.')
|
else if (c == '.')
|
||||||
{
|
{
|
||||||
is_addr6 = is_dec = is_hex = 0;
|
is_dec = is_hex = 0;
|
||||||
dots++;
|
dots++;
|
||||||
}
|
}
|
||||||
else if (c == '-')
|
else if (c == '-')
|
||||||
|
|||||||
Reference in New Issue
Block a user