From 990374e1d2009c4038a5842cb69b0d4794ee7caf Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Mon, 9 Nov 2020 11:24:53 +0100 Subject: [PATCH] lib: change limit of netns name from 15 to 35 characters Extend the size of netns name to match linux permitted netns name size Signed-off-by: Louis Scalbert --- lib/vrf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vrf.h b/lib/vrf.h index 2d2fbe4fef..c636b9ea7e 100644 --- a/lib/vrf.h +++ b/lib/vrf.h @@ -43,7 +43,7 @@ enum { IFLA_VRF_UNSPEC, IFLA_VRF_TABLE, __IFLA_VRF_MAX }; #endif #define VRF_NAMSIZ 36 -#define NS_NAMSIZ 16 +#define NS_NAMSIZ 36 /* * The command strings