diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-17 16:50:23 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-17 16:50:23 +0100 |
commit | 31d9b6c31d949bf0e884d8a6e02939345b9816e1 (patch) | |
tree | 7a6588c12a16f99b512232b77e86118837c646c4 /lib/command.c | |
parent | 825f338d44433fc2d351c08d41272f52a15329db (diff) | |
download | quagga-31d9b6c31d949bf0e884d8a6e02939345b9816e1.tar.bz2 quagga-31d9b6c31d949bf0e884d8a6e02939345b9816e1.tar.xz |
Bring up to date with 0.99.16 release
This brings this branch up to date with 0.99.16, EXCEPT for the
change to bgpd to use monotonic clock for timing updates.
There are places where bgpd expects to find the actual time that
things happened... so this change is not though to be complete.
Further tidying in zebra, for FreeBSD.
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/command.c b/lib/command.c index 6fe54d13..a78ac05c 100644 --- a/lib/command.c +++ b/lib/command.c @@ -86,7 +86,7 @@ static struct cmd_node config_node = }; /* Default motd string. */ -const char *default_motd = +static const char *default_motd = "\r\n\ Hello, this is " QUAGGA_PROGNAME " (version " QUAGGA_VERSION ").\r\n\ " QUAGGA_COPYRIGHT "\r\n\ @@ -98,7 +98,7 @@ const char *debug_banner = __DATE__ " " __TIME__; #endif -static struct facility_map { +static const struct facility_map { int facility; const char *name; size_t match; @@ -131,7 +131,7 @@ static struct facility_map { static const char * facility_name(int facility) { - struct facility_map *fm; + const struct facility_map *fm; for (fm = syslog_facilities; fm->name; fm++) if (fm->facility == facility) @@ -142,7 +142,7 @@ facility_name(int facility) static int facility_match(const char *str) { - struct facility_map *fm; + const struct facility_map *fm; for (fm = syslog_facilities; fm->name; fm++) if (!strncmp(str,fm->name,fm->match)) @@ -665,7 +665,7 @@ install_element (enum node_type ntype, struct cmd_element *cmd) cmd->cmdsize = cmd_cmdsize (cmd->strvec); } -static unsigned char itoa64[] = +static const unsigned char itoa64[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; static void |