From a363b4b49b26de20a99873dc9f690a48aba0581b Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Tue, 11 Aug 2020 21:31:53 -0700 Subject: [PATCH] lib: increase the size of northbound max module Increase the size of frr_yang_module_info macro to accomodate bgp module list. root@bharat:~/stash/frr# egrep "xpath" bgpd/bgp_nb.c | wc -l 1150 Signed-off-by: Chirag Shah --- lib/northbound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/northbound.h b/lib/northbound.h index 7b481273cb..01dc528aa4 100644 --- a/lib/northbound.h +++ b/lib/northbound.h @@ -546,7 +546,7 @@ struct nb_node { * from working properly on shared libraries. For those compilers, use a fixed * size array to work around the problem. */ -#define YANG_MODULE_MAX_NODES 1024 +#define YANG_MODULE_MAX_NODES 1400 struct frr_yang_module_info { /* YANG module name. */