mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix code parsing --domain, broken whilst added IPv6 stuff.
This commit is contained in:
@@ -1787,12 +1787,11 @@ static char *one_opt(int option, char *arg, char *gen_prob, int command_line)
|
|||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
option = '?';
|
option = '?';
|
||||||
|
}
|
||||||
|
|
||||||
new->domain = d;
|
new->domain = d;
|
||||||
new->next = daemon->cond_domain;
|
new->next = daemon->cond_domain;
|
||||||
daemon->cond_domain = new;
|
daemon->cond_domain = new;
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
daemon->domain_suffix = d;
|
daemon->domain_suffix = d;
|
||||||
|
|||||||
Reference in New Issue
Block a user