mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-20 19:52:10 +00:00
Fall back from --bind-dynamic to --bind-interfaces in BSD, rather than quitting.
This commit is contained in:
1 parent
39f1b8e73d
commit
2b5bae9a8f
3 files changed
+17
-3
No files matched your search
@@ -1119,6 +1119,14 @@ void set_option_bool(unsigned int opt)
|
||||
daemon->options2 |= 1u << (opt - 32);
|
||||
}
|
||||
|
||||
void reset_option_bool(unsigned int opt)
|
||||
{
|
||||
if (opt < 32)
|
||||
daemon->options &= ~(1u << opt);
|
||||
else
|
||||
daemon->options2 &= ~(1u << (opt - 32));
|
||||
}
|
||||
|
||||
static char *one_opt(int option, char *arg, char *gen_prob, int command_line)
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in new issue
Block a user