summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6d.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6d.c')
-rw-r--r--ospf6d/ospf6d.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c
index 17e33902d..e90448239 100644
--- a/ospf6d/ospf6d.c
+++ b/ospf6d/ospf6d.c
@@ -1268,9 +1268,8 @@ void ospf6_init(void)
&show_ipv6_ospf6_database_type_self_originated_linkstate_id_cmd);
install_element(VIEW_NODE, &show_ipv6_ospf6_database_aggr_router_cmd);
- /* Make ospf protocol socket. */
- ospf6_serv_sock();
- thread_add_read(master, ospf6_receive, NULL, ospf6_sock, NULL);
+ if (ospf6 == NULL)
+ ospf6_instance_create(VRF_DEFAULT_NAME);
}
void ospf6_clean(void)