diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2023-04-12 16:25:49 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2023-04-12 16:25:49 +0100 |
commit | 597378cdf55b248a54b930fa31acbad7415aaefd (patch) | |
tree | fb475051ca1704946ce3110dac07c2054a14de29 /src/option.c | |
parent | 15dcdc824ad49e98aaa1a527d82ac6502bdb50fb (diff) | |
download | dnsmasq-597378cdf55b248a54b930fa31acbad7415aaefd.tar.gz |
Turn "used" member of struct iname into flags in preparation for more.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.c b/src/option.c index 146ca0c..94bc682 100644 --- a/src/option.c +++ b/src/option.c @@ -2833,7 +2833,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma /* new->name may be NULL if someone does "interface=" to disable all interfaces except loop. */ new->name = opt_string_alloc(arg); - new->used = 0; + new->flags = 0; arg = comma; } while (arg); break; @@ -2943,7 +2943,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma else ret_err_free(gen_err, new); - new->used = 0; + new->flags = 0; if (option == 'a') { new->next = daemon->if_addrs; |