simplify loopback

This commit is contained in:
Ariadne Conill 2020-07-26 02:59:15 -06:00
parent 9e4e17707f
commit cae16c5758
4 changed files with 2 additions and 16 deletions

View file

@ -109,8 +109,6 @@ lif_interface_file_parse(struct lif_dict *collection, const char *filename)
/* pass requires as compatibility env vars to appropriate executors (bridge, bond) */
if (!strcmp(executor, "dhcp"))
cur_iface->is_dhcp = true;
else if (!strcmp(executor, "loopback"))
cur_iface->is_loopback = true;
else if (!strcmp(executor, "bridge"))
cur_iface->is_bridge = true;
else if (!strcmp(executor, "bond"))