ifquery: build full dependency tree when in dot mode
This commit is contained in:
parent
049af8b9fb
commit
072c1ea148
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ print_interface(struct lif_interface *iface)
|
||||||
void
|
void
|
||||||
print_interface_dot(struct lif_dict *collection, struct lif_interface *iface, struct lif_interface *parent)
|
print_interface_dot(struct lif_dict *collection, struct lif_interface *iface, struct lif_interface *parent)
|
||||||
{
|
{
|
||||||
|
if (!lif_lifecycle_query_dependents(&exec_opts, iface, iface->ifname))
|
||||||
|
return;
|
||||||
|
|
||||||
if (iface->is_up)
|
if (iface->is_up)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue