summaryrefslogtreecommitdiff
path: root/zebra/zebra_netns_notify.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-03-24 06:49:21 +0100
committerGitHub <noreply@github.com>2018-03-24 06:49:21 +0100
commitb00592cb797dc14e2df56e63d3df2433cf89a2f4 (patch)
treeb94813b36c0e885939d04fdcf232a1f71c322872 /zebra/zebra_netns_notify.c
parent0c902ba575789472612c0e18eaa6f5a27daec5b1 (diff)
Update zebra_netns_notify.c
Diffstat (limited to 'zebra/zebra_netns_notify.c')
-rw-r--r--zebra/zebra_netns_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_netns_notify.c b/zebra/zebra_netns_notify.c
index 3486bfacdd..f9beb32ac4 100644
--- a/zebra/zebra_netns_notify.c
+++ b/zebra/zebra_netns_notify.c
@@ -206,7 +206,7 @@ static int zebra_ns_notify_read(struct thread *t)
if (!(event->mask & (IN_CREATE | IN_DELETE)))
continue;
- if (event->mask & (IN_DELETE))
+ if (event->mask & IN_DELETE)
return zebra_ns_delete(event->name);
netnspath = ns_netns_pathname(NULL, event->name);
if (!netnspath)