From 97485d4f1b6c7fb3482ed900c1d557e94102359f Mon Sep 17 00:00:00 2001 From: thepeople Date: Wed, 26 Mar 2008 23:39:12 +0000 Subject: [PATCH] Fix nexthop reachability check for BGP confederations Signed-off-by: Vasilis Tsiligiannis git-svn-id: https://svn.openwrt.org/openwrt@10665 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- patches/100-confederation.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/100-confederation.patch diff --git a/patches/100-confederation.patch b/patches/100-confederation.patch new file mode 100644 index 0000000..73d75c5 --- /dev/null +++ b/patches/100-confederation.patch @@ -0,0 +1,19 @@ +diff -Nur quagga-0.98.6/bgpd/bgp_route.c quagga-0.98.6-patched/bgpd/bgp_route.c +--- quagga-0.98.6/bgpd/bgp_route.c 2006-05-08 18:03:25.000000000 +0300 ++++ quagga-0.98.6-patched/bgpd/bgp_route.c 2006-12-08 23:10:37.000000000 +0200 +@@ -1815,6 +1815,7 @@ + if ((afi == AFI_IP || afi == AFI_IP6) + && safi == SAFI_UNICAST + && (peer_sort (peer) == BGP_PEER_IBGP ++ || peer_sort (peer) == BGP_PEER_CONFED + || (peer_sort (peer) == BGP_PEER_EBGP && peer->ttl != 1) + || CHECK_FLAG (peer->flags, PEER_FLAG_ENFORCE_MULTIHOP))) + { +@@ -1862,6 +1863,7 @@ + if ((afi == AFI_IP || afi == AFI_IP6) + && safi == SAFI_UNICAST + && (peer_sort (peer) == BGP_PEER_IBGP ++ || peer_sort (peer) == BGP_PEER_CONFED + || (peer_sort (peer) == BGP_PEER_EBGP && peer->ttl != 1) + || CHECK_FLAG (peer->flags, PEER_FLAG_ENFORCE_MULTIHOP))) + { -- 2.30.2