Fix nexthop reachability check for BGP confederations Signed-off-by: Vasilis Tsiligia...
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 26 Mar 2008 23:39:12 +0000 (23:39 +0000)
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 26 Mar 2008 23:39:12 +0000 (23:39 +0000)
git-svn-id: https://svn.openwrt.org/openwrt@10665 3c298f89-4303-0410-b956-a3cf2f4a3e73

patches/100-confederation.patch [new file with mode: 0644]

diff --git a/patches/100-confederation.patch b/patches/100-confederation.patch
new file mode 100644 (file)
index 0000000..73d75c5
--- /dev/null
@@ -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)))
+     {