diff options
Diffstat (limited to 'ospf6d')
-rw-r--r-- | ospf6d/ChangeLog | 6 | ||||
-rw-r--r-- | ospf6d/ospf6d.c | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/ospf6d/ChangeLog b/ospf6d/ChangeLog index c2dac1c4..d718fc38 100644 --- a/ospf6d/ChangeLog +++ b/ospf6d/ChangeLog @@ -1,3 +1,9 @@ +2005-05-31 Hasso Tepper <hasso at quagga.net> + + * ospf6d.c: No need for double ';'. Fixes parsing "show ipv6 ospf6 + database ..." commands for vtysh by extract.pl. Remove duplicate + install_element calls. + 2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * ospf6_zebra.c (ospf6_zebra_redistribute, ospf6_zebra_no_redistribute): diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index e8fba97d..604413a7 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -1805,7 +1805,7 @@ ospf6_init () install_element (ENABLE_NODE, &show_ipv6_ospf6_linkstate_detail_cmd); #define INSTALL(n,c) \ - install_element (n ## _NODE, &show_ipv6_ospf6_ ## c); + install_element (n ## _NODE, &show_ipv6_ospf6_ ## c) INSTALL (VIEW, database_cmd); INSTALL (VIEW, database_detail_cmd); @@ -1843,8 +1843,6 @@ ospf6_init () INSTALL (VIEW, database_type_id_self_originated_detail_cmd); INSTALL (VIEW, database_type_self_originated_linkstate_id_cmd); INSTALL (VIEW, database_type_self_originated_linkstate_id_detail_cmd); - INSTALL (VIEW, database_type_id_self_originated_cmd); - INSTALL (VIEW, database_type_id_self_originated_detail_cmd); INSTALL (ENABLE, database_cmd); INSTALL (ENABLE, database_detail_cmd); @@ -1882,8 +1880,6 @@ ospf6_init () INSTALL (ENABLE, database_type_id_self_originated_detail_cmd); INSTALL (ENABLE, database_type_self_originated_linkstate_id_cmd); INSTALL (ENABLE, database_type_self_originated_linkstate_id_detail_cmd); - INSTALL (ENABLE, database_type_id_self_originated_cmd); - INSTALL (ENABLE, database_type_id_self_originated_detail_cmd); /* Make ospf protocol socket. */ ospf6_serv_sock (); |