Reevaluate target routes also on interface update
[project/netifd.git] / proto-shell.c
index 38d3871..3e13d0f 100644 (file)
@@ -211,7 +211,7 @@ proto_shell_if_up_cb(struct interface_user *dep, struct interface *iface,
 {
        struct proto_shell_dependency *pdep;
 
-       if (ev != IFEV_UP)
+       if (ev != IFEV_UP && ev != IFEV_UPDATE)
                return;
 
        pdep = container_of(dep, struct proto_shell_dependency, dep);