]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospf6d: Remove ospf6d version string
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 20 Aug 2017 01:21:00 +0000 (21:21 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 20 Aug 2017 01:21:00 +0000 (21:21 -0400)
This version string has not been updated in over 11 years.
I cannot see any viable reason that we should use or update
or anything with this value, remove.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf6d/ospf6d.c
ospf6d/ospf6d.h

index 6b47fca578d0cd8e4e691615bbd4155863c27063..48c34b79751d18e3abfeeb6296a477e5614fba3a 100644 (file)
@@ -44,8 +44,6 @@
 #include "ospf6d.h"
 #include "ospf6_bfd.h"
 
-char ospf6_daemon_version[] = OSPF6_DAEMON_VERSION;
-
 struct route_node *route_prev(struct route_node *node)
 {
        struct route_node *end;
@@ -70,21 +68,6 @@ struct route_node *route_prev(struct route_node *node)
        return prev;
 }
 
-
-/* show database functions */
-DEFUN (show_version_ospf6,
-       show_version_ospf6_cmd,
-       "show version ospf6",
-       SHOW_STR
-       "Display version\n"
-       "Display ospf6d version\n"
-      )
-{
-       vty_out(vty, "Zebra OSPF6d Version: %s\n", ospf6_daemon_version);
-
-       return CMD_SUCCESS;
-}
-
 static struct cmd_node debug_node = {
        DEBUG_NODE, "", 1 /* VTYSH */
 };
@@ -1174,8 +1157,6 @@ void ospf6_init(void)
 
        install_element_ospf6_clear_interface();
 
-       install_element(VIEW_NODE, &show_version_ospf6_cmd);
-
        install_element(VIEW_NODE, &show_ipv6_ospf6_border_routers_cmd);
 
        install_element(VIEW_NODE, &show_ipv6_ospf6_linkstate_cmd);
index 1515c3ad0c9a814a8c0e3536e0cf97de4185b274..77a40eac63f60a441cee57d604a7b909dd77ea8e 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef OSPF6D_H
 #define OSPF6D_H
 
-#define OSPF6_DAEMON_VERSION    "0.9.7r"
-
 #include "libospf.h"
 #include "thread.h"