diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2020-11-20 01:48:11 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2020-11-20 01:48:11 +0300 |
| commit | 360d6f517ffc1e6598dff56ad046df2baa1be85f (patch) | |
| tree | 3a752592eaf82027ea26afef9519baaef1ba8750 | |
| parent | c14dba6241da01f29e1afc1f88b7c1571c18eb45 (diff) | |
ospf6: don't create instance at startup
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
| -rw-r--r-- | ospf6d/ospf6d.c | 6 |
1 files changed, 0 insertions, 6 deletions
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); } |
