]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6: don't create instance at startup
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 19 Nov 2020 22:48:11 +0000 (01:48 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 19 Nov 2020 22:48:11 +0000 (01:48 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospf6d/ospf6d.c

index fe519d0a26caffc97e881fa53ba51996251d9011..4b958e550f80c684317be72474c6469e9d563933 100644 (file)
@@ -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);
 }