diff options
| author | paco <paco@voltanet.io> | 2018-06-21 12:59:22 +0200 |
|---|---|---|
| committer | paco <paco@voltanet.io> | 2018-06-21 17:09:04 +0200 |
| commit | 0cfbff749e4a47c96511f2eeed4bd970a7b65c68 (patch) | |
| tree | fb62b7987506bc62b8c85be54a89fe34993f5757 /zebra/zebra_netns_id.c | |
| parent | 76cd18c9ddfbdb8f36b60fac61ebb4d64d12d079 (diff) | |
zebra: flow control (Coverity 1462467 1465497)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'zebra/zebra_netns_id.c')
| -rw-r--r-- | zebra/zebra_netns_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_netns_id.c b/zebra/zebra_netns_id.c index 317b02f601..96e6df34da 100644 --- a/zebra/zebra_netns_id.c +++ b/zebra/zebra_netns_id.c @@ -307,7 +307,7 @@ ns_id_t zebra_ns_id_get(const char *netnspath) nlh = (struct nlmsghdr *)((char *)nlh + NETLINK_ALIGN( nlh->nlmsg_len)); - } while (len != 0 && return_nsid != NS_UNKNOWN && ret == 0); + } while (len != 0 && ret == 0); } close(fd); |
