From 4542c8c32f13fa162de81b51466167b00b024eb1 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 23 Jul 2020 08:52:18 -0600 Subject: [PATCH] lifecycle: note dependency resolution todo --- libifupdown/lifecycle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libifupdown/lifecycle.c b/libifupdown/lifecycle.c index da778af..fda235d 100644 --- a/libifupdown/lifecycle.c +++ b/libifupdown/lifecycle.c @@ -186,6 +186,8 @@ lif_lifecycle_run(const struct lif_execute_opts *opts, struct lif_interface *ifa if (lifname == NULL) lifname = iface->ifname; + /* XXX: actually handle dependents here */ + if (up) { /* XXX: we should try to recover (take the iface down) if bringing it up fails.