summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
committerChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
commitf9956b9524ddafdb9d0cec042213eaa8229aad8c (patch)
treebf362c892837ef3f5a6a4d4265eb18e1b47ccf33 /lib/command.c
parent9470cb2c32eab220f796b1438b787528272cbe84 (diff)
downloadquagga-ex15p.tar.bz2
quagga-ex15p.tar.xz
Bring "ex" version up to date with 0.99.18ex15p
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.)
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c7
1 files changed, 3 insertions, 4 deletions
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 <ctype.h>
#include <sys/param.h>
@@ -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);
} ;