]> git.puffer.fish Git - mirror/frr.git/commitdiff
* ospf6d.c: No need for double ';'. Fixes parsing "show ipv6 ospf6
authorhasso <hasso>
Tue, 31 May 2005 10:24:28 +0000 (10:24 +0000)
committerhasso <hasso>
Tue, 31 May 2005 10:24:28 +0000 (10:24 +0000)
  database ..." commands for vtysh by extract.pl. Remove duplicate
  install_element calls.

Fixes bugzilla #194. [backport candidate]

ospf6d/ChangeLog
ospf6d/ospf6d.c

index c2dac1c4116156abffa1a6de269292fb8b393443..d718fc380fd1af051bde97c064635025278f481e 100644 (file)
@@ -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):
index e8fba97dbf72c89a819070d9ff74afaa98ab9836..604413a7bc22655c144fa95da4412e94280fa8aa 100644 (file)
@@ -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 ();