packages/net/quagga/patches/100-confederation.patch
acinonyx 185586781f [packages] quagga: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 12:32:35 +00:00

19 lines
774 B
Diff

--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -1815,6 +1815,7 @@ bgp_update_main (struct peer *peer, stru
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 @@ bgp_update_main (struct peer *peer, stru
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)))
{