summaryrefslogtreecommitdiff
path: root/proto-shell.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-10-18 15:15:49 +0200
committerSteven Barth <steven@midlink.org>2013-10-18 15:15:49 +0200
commit9814c6c71e3a5c0332a5bd29c952fd661e4c4222 (patch)
tree1749644612628a6593953544f7218fad56c38e67 /proto-shell.c
parentb08f841685bf67b3f4f8cc3e8f667c80878916a8 (diff)
downloadnetifd-9814c6c71e3a5c0332a5bd29c952fd661e4c4222.tar.gz
Reevaluate target routes also on interface update
Diffstat (limited to 'proto-shell.c')
-rw-r--r--proto-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-shell.c b/proto-shell.c
index 38d3871..3e13d0f 100644
--- a/proto-shell.c
+++ b/proto-shell.c
@@ -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);