mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix c9bc0156a8d36d56735831cb81e786d628ed73e
Eg. dhcp-host=AA:BB:CC:DD:EE:FF,192.168.1.5,server,infinite is broken. Thanks to Dominik for the diagnosis.
This commit is contained in:
@@ -4161,7 +4161,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
|
||||
}
|
||||
else if (strcmp(arg, "ignore") == 0)
|
||||
new->flags |= CONFIG_DISABLE;
|
||||
if (new->hostname)
|
||||
else if (new->hostname)
|
||||
{
|
||||
dhcp_config_free(new);
|
||||
ret_err(_("DHCP host has multiple names"));
|
||||
|
||||
Reference in New Issue
Block a user