summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2019-05-16 10:04:14 -0400
committerGitHub <noreply@github.com>2019-05-16 10:04:14 -0400
commitcc25952f2a34bcae4cbf6a3e5d40cfc57d4fb250 (patch)
tree5ffa168c8d91e120fb3e8e07502e471dd2e4cc9c /zebra/zebra_router.c
parent6f33cbff181010025cb2c9f80aad3c12696e19b0 (diff)
parentb3f2b59020aeb0d04f7867585766732d54026edf (diff)
Merge pull request #4327 from sworleys/Move-Multipath-Num
zebra: Move multipath_num into zrouter
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c4
1 files changed, 3 insertions, 1 deletions
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,