summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2020-08-11 21:31:53 -0700
committerChirag Shah <chirag@nvidia.com>2020-10-03 11:25:37 -0700
commita363b4b49b26de20a99873dc9f690a48aba0581b (patch)
tree592b832d09d8baa4883aa32143b1546875a69bd8
parenta1950c80a570e721503de4cf86de7a247e900781 (diff)
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 <chirag@nvidia.com>
-rw-r--r--lib/northbound.h2
1 files changed, 1 insertions, 1 deletions
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. */