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 38d3871ff6f95858064e7f15b8c1576e30bcb0d2..3e13d0fbab9c1af0b6cdbf00c3a2e16efeabb24f 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);