ifquery: display template interfaces as templates, not as iface
This commit is contained in:
parent
5c5c316ebf
commit
41a71173d1
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ print_interface(struct lif_interface *iface)
|
||||||
if (iface->is_auto)
|
if (iface->is_auto)
|
||||||
printf("auto %s\n", iface->ifname);
|
printf("auto %s\n", iface->ifname);
|
||||||
|
|
||||||
printf("iface %s\n", iface->ifname);
|
printf("%s %s\n", iface->is_template ? "template" : "iface", iface->ifname);
|
||||||
|
|
||||||
struct lif_node *iter;
|
struct lif_node *iter;
|
||||||
LIF_DICT_FOREACH(iter, &iface->vars)
|
LIF_DICT_FOREACH(iter, &iface->vars)
|
||||||
|
|
Loading…
Reference in a new issue