summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_oad/test_bgp_oad.py
diff options
context:
space:
mode:
authorEnke Chen <enchen@paloaltonetworks.com>2024-10-21 18:03:08 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-10-22 05:40:50 +0000
commit8b6fb17142f4babf098c30248a3a4563838f4cc8 (patch)
tree73774e18172b4d11fab94be49ea21bde5cffa491 /tests/topotests/bgp_oad/test_bgp_oad.py
parent862d7bcd6f7378a61bbdbb23b1820dfd8635beaf (diff)
bgpd: fix AIGP calculation in route advertisement
Currently the AIGP is always incremented when a route with the attribute is advertised. That is incorrect when the nexthop is unchanged, as is commonly the case in route reflection. Adjust the AIGP for propagation only when the nexthop is set to ourselves. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com> (cherry picked from commit fc82d7750f3cc54855ca399f3060428b66e1fbec)
Diffstat (limited to 'tests/topotests/bgp_oad/test_bgp_oad.py')
0 files changed, 0 insertions, 0 deletions