]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_nexthop.c
bgpd: Prevent the ebgp ipv6 sender from changing of nexthop in a special case.
authorBiswajit Sadhu <sadhub@vmware.com>
Sat, 27 Apr 2019 11:27:21 +0000 (04:27 -0700)
committerBiswajit Sadhu <sadhub@vmware.com>
Sat, 27 Apr 2019 11:27:21 +0000 (04:27 -0700)
commit737af8857aab57d7fdeaffc5b9a72684e2dbb2d4
tree397821d3b136ba6504ba547ff706ad187fa7db41
parent86336f620f6e175e5552085877fa02ffaf9591b1
bgpd: Prevent the ebgp ipv6 sender from changing of nexthop in a special case.

Prevent the ebgp sender from changing the nexthop( which is same as the ebgp neighbour ipv6 address),
while sending updates to its ipv6 neighbor.So,if the nexthop of the ipv6 route is same as the ipv6
neighbour address do not change the next hop to your own ip.

Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
bgpd/bgp_nexthop.c
bgpd/bgp_nexthop.h
bgpd/bgp_route.c
bgpd/bgp_updgrp_packet.c