]> git.puffer.fish Git - matthieu/frr.git/commitdiff
[ospf6] Add no router ospf6
authorJon <jonirucoeith@gmail.com>
Thu, 12 Feb 2009 01:19:07 +0000 (17:19 -0800)
committerPaul Jakma <paul@quagga.net>
Thu, 18 Jun 2009 19:18:26 +0000 (20:18 +0100)
Suggestion: Makes no sense to me that the statement to remove ospf6
configuration is located in OSPF6D_NODE.
Moved to CONFIG_NODE next to matching define command.

ospf6d/ospf6_top.c

index 609df41c1490aeeb6fce3ad36d48179da4a35ebc..2d4d3caf29b5220d59bf2492f35e2d53da8f2396 100644 (file)
@@ -667,6 +667,7 @@ ospf6_top_init (void)
   install_element (VIEW_NODE, &show_ipv6_ospf6_cmd);
   install_element (ENABLE_NODE, &show_ipv6_ospf6_cmd);
   install_element (CONFIG_NODE, &router_ospf6_cmd);
+  install_element (CONFIG_NODE, &no_router_ospf6_cmd);
 
   install_element (VIEW_NODE, &show_ipv6_ospf6_route_cmd);
   install_element (VIEW_NODE, &show_ipv6_ospf6_route_detail_cmd);