* ospf6d.c: No need for double ';'. Fixes parsing "show ipv6 ospf6
	  database ..." commands for vtysh by extract.pl. Remove duplicate
	  install_element calls.

	Fixes bugzilla #194. [backport candidate]
diff --git a/ospf6d/ChangeLog b/ospf6d/ChangeLog
index c2dac1c..d718fc3 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 e8fba97..604413a 100644
--- a/ospf6d/ospf6d.c
+++ b/ospf6d/ospf6d.c
@@ -1805,7 +1805,7 @@
   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 @@
   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 @@
   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 ();