From b3f2b59020aeb0d04f7867585766732d54026edf Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 13 Feb 2019 14:58:29 -0500 Subject: zebra: Move multipath_num into zrouter The multipath_num variable is a property of zebra_router, so move it there. Signed-off-by: Donald Sharp --- zebra/zebra_router.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zebra/zebra_router.c') diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c index 63724fc350..0ab6946eea 100644 --- a/zebra/zebra_router.c +++ b/zebra/zebra_router.c @@ -30,7 +30,9 @@ #include "zebra_vxlan.h" #include "zebra_mlag.h" -struct zebra_router zrouter; +struct zebra_router zrouter = { + .multipath_num = MULTIPATH_NUM, +}; static inline int zebra_router_table_entry_compare(const struct zebra_router_table *e1, -- cgit v1.2.3