summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2005-05-31 10:24:28 +0000
committerhasso <hasso>2005-05-31 10:24:28 +0000
commitb31b813671d96ea9e96801508442a90f0ef503fa (patch)
tree2e5e369667da72c91e9e3dacacefb1eca1d5a59c
parentcf333c7ac1ce752369ffe7ddd6edeb10f0d9c9f7 (diff)
* 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]
-rw-r--r--ospf6d/ChangeLog6
-rw-r--r--ospf6d/ospf6d.c6
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 ();