f43f44a2e4
* Switch to quagga 0.99.x for stable version * Add menuconfig option to allow selection of old 0.98.6 version * Makefile cleanups git-svn-id: svn://svn.openwrt.org/openwrt/packages@23464 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
774 B
Diff
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)))
|
|
{
|