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>
This commit is contained in:
Chirag Shah 2020-08-11 21:31:53 -07:00
parent a1950c80a5
commit a363b4b49b

View File

@ -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. */