diff options
author | hasso <hasso> | 2005-05-31 12:24:28 +0200 |
---|---|---|
committer | hasso <hasso> | 2005-05-31 12:24:28 +0200 |
commit | b31b813671d96ea9e96801508442a90f0ef503fa (patch) | |
tree | 2e5e369667da72c91e9e3dacacefb1eca1d5a59c /ospf6d/ospf6d.c | |
parent | Ignore generated prototype.smf. (diff) | |
download | frr-b31b813671d96ea9e96801508442a90f0ef503fa.tar.xz frr-b31b813671d96ea9e96801508442a90f0ef503fa.zip |
* 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]
Diffstat (limited to '')
-rw-r--r-- | ospf6d/ospf6d.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index e8fba97db..604413a7b 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 (); |