Reevaluate target routes also on interface update
authorSteven Barth <steven@midlink.org>
Fri, 18 Oct 2013 13:15:49 +0000 (15:15 +0200)
committerSteven Barth <steven@midlink.org>
Fri, 18 Oct 2013 13:15:49 +0000 (15:15 +0200)
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;
 
 {
        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);
                return;
 
        pdep = container_of(dep, struct proto_shell_dependency, dep);