Update zebra_netns_notify.c

This commit is contained in:
Philippe Guibert 2018-03-24 06:49:21 +01:00 committed by GitHub
parent 0c902ba575
commit b00592cb79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)