lifecycle: add some helpful debug
This commit is contained in:
parent
050ab77bd3
commit
aba4b18862
1 changed files with 4 additions and 0 deletions
|
@ -255,7 +255,11 @@ handle_dependents(const struct lif_execute_opts *opts, struct lif_interface *par
|
||||||
|
|
||||||
/* already up or down, skip */
|
/* already up or down, skip */
|
||||||
if (up == iface->is_up)
|
if (up == iface->is_up)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n",
|
||||||
|
iface->ifname, parent->ifname);
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (opts->verbose)
|
if (opts->verbose)
|
||||||
fprintf(stderr, "ifupdown: changing state of dependent interface %s (of %s) to %s\n",
|
fprintf(stderr, "ifupdown: changing state of dependent interface %s (of %s) to %s\n",
|
||||||
|
|
Loading…
Reference in a new issue