diff options
author | hasso <hasso> | 2003-05-25 19:21:25 +0000 |
---|---|---|
committer | hasso <hasso> | 2003-05-25 19:21:25 +0000 |
commit | 6cbcce0a3b204f50b4e78db188c78fae4cd2191a (patch) | |
tree | defb4c4c8257c0ae276362d38f1904ced66113ad /lib/zclient.c | |
parent | 1e1bb742e7b9d5065179e6b38bad9b86707e6876 (diff) | |
download | quagga-6cbcce0a3b204f50b4e78db188c78fae4cd2191a.tar.bz2 quagga-6cbcce0a3b204f50b4e78db188c78fae4cd2191a.tar.xz |
Route (reject|blackhole) support from 6Wind patch.
Diffstat (limited to 'lib/zclient.c')
-rw-r--r-- | lib/zclient.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index c1b286f4..ebf685a0 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -317,12 +317,6 @@ zapi_ipv4_add (struct zclient *zclient, struct prefix_ipv4 *p, /* Nexthop, ifindex, distance and metric information. */ if (CHECK_FLAG (api->message, ZAPI_MESSAGE_NEXTHOP)) { - if (CHECK_FLAG (api->flags, ZEBRA_FLAG_BLACKHOLE)) - { - stream_putc (s, 1); - stream_putc (s, ZEBRA_NEXTHOP_BLACKHOLE); - } - else stream_putc (s, api->nexthop_num + api->ifindex_num); for (i = 0; i < api->nexthop_num; i++) @@ -377,12 +371,6 @@ zapi_ipv4_delete (struct zclient *zclient, struct prefix_ipv4 *p, /* Nexthop, ifindex, distance and metric information. */ if (CHECK_FLAG (api->message, ZAPI_MESSAGE_NEXTHOP)) { - if (CHECK_FLAG (api->flags, ZEBRA_FLAG_BLACKHOLE)) - { - stream_putc (s, 1); - stream_putc (s, ZEBRA_NEXTHOP_BLACKHOLE); - } - else stream_putc (s, api->nexthop_num + api->ifindex_num); for (i = 0; i < api->nexthop_num; i++) |