2009-06-10 12:32:35 +00:00
|
|
|
--- a/bgpd/bgp_route.c
|
|
|
|
+++ b/bgpd/bgp_route.c
|
|
|
|
@@ -1815,6 +1815,7 @@ bgp_update_main (struct peer *peer, stru
|
2008-03-26 23:39:12 +00:00
|
|
|
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)))
|
|
|
|
{
|
2009-06-10 12:32:35 +00:00
|
|
|
@@ -1862,6 +1863,7 @@ bgp_update_main (struct peer *peer, stru
|
2008-03-26 23:39:12 +00:00
|
|
|
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)))
|
|
|
|
{
|