libifupdown: interface: add support for automatic "use static" insertion
This commit is contained in:
parent
052156ac09
commit
987e6399de
3 changed files with 10 additions and 0 deletions
|
|
@ -115,6 +115,8 @@ lif_interface_file_parse(struct lif_dict *collection, const char *filename)
|
|||
cur_iface->is_bridge = true;
|
||||
else if (!strcmp(executor, "bond"))
|
||||
cur_iface->is_bond = true;
|
||||
else if (!strcmp(executor, "static"))
|
||||
cur_iface->is_static = true;
|
||||
|
||||
lif_dict_add(&cur_iface->vars, token, strdup(executor));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue