summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
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;