--- quagga-0.99.1/zebra/zebra_rib.c Thu Apr 28 19:35:14 2005 +++ quagga-0.99.1-blackhole/zebra/zebra_rib.c Thu Jun 9 20:28:05 2005 @@ -405,6 +405,8 @@ { SET_FLAG (nexthop->flags, NEXTHOP_FLAG_RECURSIVE); nexthop->rtype = newhop->type; + if (newhop->type == NEXTHOP_TYPE_BLACKHOLE) + nexthop_blackhole_add (rib); if (newhop->type == NEXTHOP_TYPE_IPV4 || newhop->type == NEXTHOP_TYPE_IPV4_IFINDEX) nexthop->rgate.ipv4 = newhop->gate.ipv4;