ifquery: include reverse dependency count in dot output
This commit is contained in:
parent
67dce280d7
commit
a5eebda391
1 changed files with 2 additions and 2 deletions
|
@ -67,9 +67,9 @@ print_interface_dot(struct lif_dict *collection, struct lif_interface *iface, st
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (parent != NULL)
|
if (parent != NULL)
|
||||||
printf("\"%s\" -> ", parent->ifname);
|
printf("\"%s (%zu)\" -> ", parent->ifname, parent->rdepends_count);
|
||||||
|
|
||||||
printf("\"%s\"", iface->ifname);
|
printf("\"%s (%zu)\"", iface->ifname, iface->rdepends_count);
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue