SOURCES: quagga-blackhole.patch (NEW) - patch to use blackhole fro...

undefine undefine at pld-linux.org
Mon Jun 27 19:54:35 CEST 2005


Author: undefine                     Date: Mon Jun 27 17:54:35 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch to use blackhole from http://lukasz.bromirski.net/docs/prezos/meetbsd2005/02-bgp-and-blackholing.pdf

---- Files affected:
SOURCES:
   quagga-blackhole.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/quagga-blackhole.patch
diff -u /dev/null SOURCES/quagga-blackhole.patch:1.1
--- /dev/null	Mon Jun 27 19:54:35 2005
+++ SOURCES/quagga-blackhole.patch	Mon Jun 27 19:54:30 2005
@@ -0,0 +1,11 @@
+--- quagga-0.98.3/zebra/zebra_rib.c~	2004-12-07 21:12:56.000000000 +0000
++++ quagga-0.98.3/zebra/zebra_rib.c	2005-06-24 22:17:05.230996344 +0000
+@@ -396,6 +396,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;
================================================================



More information about the pld-cvs-commit mailing list