summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-02-05 00:54:16 +0100
committerGitHub <noreply@github.com>2019-02-05 00:54:16 +0100
commit83c2a84d7cfe9b4132f15b04593869cee5f408e9 (patch)
tree5f39f3561b35222fe36ce61aae78a29a2cac74c0 /zebra/zebra_router.c
parent5a753fee025b0cf5fcc0050ba41e5ec8cf948972 (diff)
parentb120fe3b69208980372d04728ee57894b6a7a842 (diff)
Merge pull request #3602 from donaldsharp/mlag_debug
zebra cleanup and some mlag additions
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index 3e94d6bca8..c3b861c242 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -188,6 +188,9 @@ void zebra_router_terminate(void)
zebra_router_free_table(zrt);
}
+ work_queue_free_and_null(&zrouter.ribq);
+ meta_queue_free(zrouter.mq);
+
zebra_vxlan_disable();
zebra_mlag_terminate();
@@ -206,6 +209,9 @@ void zebra_router_init(void)
{
zrouter.sequence_num = 0;
+ zrouter.rtm_table_default = 0;
+ zrouter.packets_to_process = ZEBRA_ZAPI_PACKETS_TO_PROCESS;
+
zebra_vxlan_init();
zebra_mlag_init();