]> git.pld-linux.org Git - packages/quagga.git/blob - quagga-blackhole.patch
- removed temporary files
[packages/quagga.git] / quagga-blackhole.patch
1 --- quagga-0.98.3/zebra/zebra_rib.c~    2009-12-21 11:40:24.000000000 +0100
2 +++ quagga-0.98.3/zebra/zebra_rib.c     2010-03-23 00:00:00.000000000 +0100
3 @@ -384,6 +384,8 @@ nexthop_active_ipv4 (struct rib *rib, st
4                       {
5                         SET_FLAG (nexthop->flags, NEXTHOP_FLAG_RECURSIVE);
6                         nexthop->rtype = newhop->type;
7 +                       if (newhop->type == NEXTHOP_TYPE_BLACKHOLE)
8 +                           nexthop_blackhole_add (rib);
9                         if (newhop->type == NEXTHOP_TYPE_IPV4 ||
10                             newhop->type == NEXTHOP_TYPE_IPV4_IFINDEX)
11                           nexthop->rgate.ipv4 = newhop->gate.ipv4;
This page took 0.081935 seconds and 3 git commands to generate.