summaryrefslogtreecommitdiffstats
path: root/lib/command.h
diff options
context:
space:
mode:
authorpaul <paul>2006-06-27 07:52:03 +0000
committerpaul <paul>2006-06-27 07:52:03 +0000
commit0efde71ad538f91e1ef4b221fdf13abca9dcf9b9 (patch)
treece2b8f75aa57cecd7e1605cc64dc1e8f8c3521cb /lib/command.h
parentf43ef19d2021a0bdcef0ff5847846c72f04e8afd (diff)
downloadquagga-0efde71ad538f91e1ef4b221fdf13abca9dcf9b9.tar.bz2
quagga-0efde71ad538f91e1ef4b221fdf13abca9dcf9b9.tar.xz
[lib] Centralise Zserv route type information, auto-generate redist strings
2006-05-23 Paul Jakma <paul.jakma@sun.com> * route_types.txt: New file, table of ZEBRA_ROUTE definitions. * route_types.awk: New script, to parse previous and generate (for now) redistribute string defines. * Makefile.am: build route_types.h using previous two, ala memtypes.h, include the script and table file in EXTRA_DIST. * command.h: pull in route_types.h, add a REDIST_STR define.
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index 99aec332..ce18731e 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -25,6 +25,7 @@
#include "vector.h"
#include "vty.h"
+#include "lib/route_types.h"
/* Host configuration variable */
struct host
@@ -271,6 +272,7 @@ struct desc
#define IP_STR "IP information\n"
#define IPV6_STR "IPv6 information\n"
#define NO_STR "Negate a command or set its defaults\n"
+#define REDIST_STR "Redistribute information from another routing protocol\n"
#define CLEAR_STR "Reset functions\n"
#define RIP_STR "RIP information\n"
#define BGP_STR "BGP information\n"