summaryrefslogtreecommitdiff
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r--zebra/zebra_ns.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h
index 07fcfcdac1..8a821c465a 100644
--- a/zebra/zebra_ns.h
+++ b/zebra/zebra_ns.h
@@ -23,6 +23,8 @@
#if !defined(__ZEBRA_NS_H__)
#define __ZEBRA_NS_H__
+#include <lib/ns.h>
+
#ifdef HAVE_NETLINK
/* Socket interface to kernel */
struct nlsock
@@ -34,9 +36,6 @@ struct nlsock
};
#endif
-/* NetNS ID type. */
-typedef u_int16_t ns_id_t;
-
struct zebra_ns
{
/* net-ns name. */