]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: stop sending nexthop set by "route-map in" to eBGP peers
authorDon Slice <dslice@cumulusnetworks.com>
Tue, 24 Sep 2019 12:02:02 +0000 (05:02 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Wed, 25 Sep 2019 20:54:39 +0000 (13:54 -0700)
commit1c875ddb576d94f08e6786bf1ec02d1809ce107c
tree8959af449c1a02a10a5deea2730d80e63ab91470
parente030e863b673e59a6daa75b1a7be8f1987a8e8bd
bgpd: stop sending nexthop set by "route-map in" to eBGP peers

Problem reported that when a "neighbor x.x.x.x route-map FOO in"
set a next-hop value, that modified next-hop value was also sent
to eBGP peers.  This is incorrect since bgp is expected to set
next-hop to self when sending to eBGP peers unless third party
next-hop on a shared segment is true.  This fix modifies the
behavior to stop sending the modified next-hop to eBGP peers
if the route-map was applied inbound on another peer.

Ticket: CM-26025
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_updgrp_packet.c