diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-06-27 09:52:03 +0200 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-06-27 09:52:03 +0200 |
commit | 9c42a6ebbc103a0a4be6af782388ad26e6c03556 (patch) | |
tree | fcbdec3f26cb36539b9d66e1b8f4e63cfe1c3799 /lib/command.h | |
parent | [doc] OSPF MD5 keyid documentation, fix texinfo warnings in bgpd.texi (diff) | |
download | frr-9c42a6ebbc103a0a4be6af782388ad26e6c03556.tar.xz frr-9c42a6ebbc103a0a4be6af782388ad26e6c03556.zip |
[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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h index 99aec3324..ce18731e6 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" |