diff options
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r-- | zebra/zebra_ns.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h index ca909ef41..037c7322b 100644 --- a/zebra/zebra_ns.h +++ b/zebra/zebra_ns.h @@ -114,11 +114,10 @@ static inline void zebra_ns_info_from_ns(struct zebra_ns_info *zns_info, */ zns_info->is_cmd = is_cmd; zns_info->nl_cmd_pid = zns->netlink_cmd.snl.nl_pid; - if (is_cmd) { + if (is_cmd) zns_info->nls = zns->netlink_cmd; - } else { + else zns_info->nls = zns->netlink; - } #endif /* NETLINK */ } |