summaryrefslogtreecommitdiff
path: root/pbrd/pbr_nht.h
diff options
context:
space:
mode:
Diffstat (limited to 'pbrd/pbr_nht.h')
-rw-r--r--pbrd/pbr_nht.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pbrd/pbr_nht.h b/pbrd/pbr_nht.h
index 2cfb076f00..e6fdbfd04c 100644
--- a/pbrd/pbr_nht.h
+++ b/pbrd/pbr_nht.h
@@ -25,8 +25,10 @@
#include "pbr_map.h"
+#define PBR_NHC_NAMELEN PBR_MAP_NAMELEN + 10
+
struct pbr_nexthop_group_cache {
- char name[PBR_MAP_NAMELEN];
+ char name[PBR_NHC_NAMELEN];
uint32_t table_id;