diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-05 04:31:56 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-05 04:39:55 +0100 |
commit | cf245afd5dd1f8c7c80089465e610acaaa1e2f24 (patch) | |
tree | 6065436c819b730b20a5bd30ae281e272bdfeeb1 /lib | |
parent | ada3758d3977726fa3140a27a0e503787a83ab71 (diff) | |
download | quagga-cf245afd5dd1f8c7c80089465e610acaaa1e2f24.tar.bz2 quagga-cf245afd5dd1f8c7c80089465e610acaaa1e2f24.tar.xz |
zebra: cleanup blackhole support
blackhole support was horribly broken. cleanup by removing blackhole
stuff from ZEBRA_FLAG_*, instead add a "zflags" field inside struct rib.
introduces support for "prohibit" routes (Linux/netlink only)
also clean up blackhole options on "ip route" vty commands.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zebra.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index b580934c..fa37b48d 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -467,12 +467,12 @@ extern const char *zserv_command_string (unsigned int command); /* Zebra message flags */ #define ZEBRA_FLAG_INTERNAL 0x01 #define ZEBRA_FLAG_SELFROUTE 0x02 -#define ZEBRA_FLAG_BLACKHOLE 0x04 +/* 0x04 was: FLAG_BLACKHOLE */ #define ZEBRA_FLAG_IBGP 0x08 #define ZEBRA_FLAG_SELECTED 0x10 #define ZEBRA_FLAG_CHANGED 0x20 #define ZEBRA_FLAG_STATIC 0x40 -#define ZEBRA_FLAG_REJECT 0x80 +/* 0x80 was: FLAG_REJECT */ /* Zebra nexthop flags. */ #define ZEBRA_NEXTHOP_IFINDEX 1 |