ifquery: include reverse dependency count in dot output

This commit is contained in:
Ariadne Conill 2020-09-09 17:14:58 -06:00
parent 67dce280d7
commit a5eebda391

View file

@ -67,9 +67,9 @@ print_interface_dot(struct lif_dict *collection, struct lif_interface *iface, st
return;
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");