From f9956b9524ddafdb9d0cec042213eaa8229aad8c Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Tue, 29 Mar 2011 01:49:16 +0100 Subject: Bring "ex" version up to date with 0.99.18 Release: 0.99.18ex15p -- Pipework Branch Also fixes issue with unknown attributes -- does not release them prematurely. Contains the "bgpd: New show commands for improved view and address family support", which is post 0.99.18. (But not RFC 5082 GTSM.) --- lib/command.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/command.c') diff --git a/lib/command.c b/lib/command.c index 61f554bb..1fc85344 100644 --- a/lib/command.c +++ b/lib/command.c @@ -21,10 +21,8 @@ along with GNU Zebra; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "zconfig.h" -#include "version.h" - #include "misc.h" +#include "version.h" #include #include @@ -58,7 +56,7 @@ vector node_vector = NULL ; /*============================================================================== * Default motd string. */ -const char* default_motd = +static const char* default_motd = "\n" "Hello, this is " QUAGGA_PROGNAME " (version " QUAGGA_VERSION ")\n" QUAGGA_COPYRIGHT "\n" @@ -2287,6 +2285,7 @@ cmd_init (bool terminal) install_element (RESTRICTED_NODE, &show_thread_cpu_cmd); install_element (VIEW_NODE, &show_thread_cpu_cmd); install_element (ENABLE_NODE, &show_thread_cpu_cmd); + install_element (ENABLE_NODE, &clear_thread_cpu_cmd); install_element (VIEW_NODE, &show_work_queues_cmd); install_element (ENABLE_NODE, &show_work_queues_cmd); } ; -- cgit v1.2.3