packages/net/quagga/patches-old/100-confederation.patch

19 lines
774 B
Diff
Raw Normal View History

--- 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)))
{