lifecycle: add some helpful debug

This commit is contained in:
Ariadne Conill 2020-08-24 10:36:17 -06:00
parent 050ab77bd3
commit aba4b18862

View file

@ -255,7 +255,11 @@ handle_dependents(const struct lif_execute_opts *opts, struct lif_interface *par
/* already up or down, skip */
if (up == iface->is_up)
{
fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n",
iface->ifname, parent->ifname);
continue;
}
if (opts->verbose)
fprintf(stderr, "ifupdown: changing state of dependent interface %s (of %s) to %s\n",