interface: auto interfaces are always explicit

This commit is contained in:
Ariadne Conill 2020-10-21 08:09:21 -06:00
parent 0abafedb9a
commit 0d28f94a47
2 changed files with 4 additions and 0 deletions

View file

@ -172,6 +172,9 @@ handle_auto(struct lif_interface_file_parse_state *state, char *token, char *buf
if (!state->cur_iface->is_template)
state->cur_iface->is_auto = true;
if (state->cur_iface->is_auto)
state->cur_iface->is_explicit = true;
return true;
}