interface: auto interfaces are always explicit
This commit is contained in:
parent
0abafedb9a
commit
0d28f94a47
2 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue