From: Igor Ryzhov Date: Thu, 19 Nov 2020 22:48:11 +0000 (+0300) Subject: ospf6: don't create instance at startup X-Git-Tag: base_7.6~175^2~4 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=360d6f517ffc1e6598dff56ad046df2baa1be85f;p=mirror%2Ffrr.git ospf6: don't create instance at startup Signed-off-by: Igor Ryzhov --- diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index fe519d0a26..4b958e550f 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -1237,8 +1237,6 @@ static void ospf6_plist_del(struct prefix_list *plist) /* Install ospf related commands. */ void ospf6_init(struct thread_master *master) { - struct ospf6 *ospf6; - ospf6_top_init(); ospf6_area_init(); ospf6_interface_init(); @@ -1302,8 +1300,4 @@ void ospf6_init(struct thread_master *master) VIEW_NODE, &show_ipv6_ospf6_database_type_self_originated_linkstate_id_cmd); install_element(VIEW_NODE, &show_ipv6_ospf6_database_aggr_router_cmd); - - ospf6 = ospf6_lookup_by_vrf_name(VRF_DEFAULT_NAME); - if (ospf6 == NULL) - ospf6_instance_create(VRF_DEFAULT_NAME); }