summaryrefslogtreecommitdiff
path: root/lib/if_rmap.c
diff options
context:
space:
mode:
authorEnke Chen <enchen@paloaltonetworks.com>2024-10-21 18:03:08 -0700
committerEnke Chen <enchen@paloaltonetworks.com>2024-10-21 18:03:08 -0700
commitfc82d7750f3cc54855ca399f3060428b66e1fbec (patch)
tree312255a1b031bfeabf404b41dc692749ab68e90b /lib/if_rmap.c
parent7e7f65cc00b13108e260bef329fc17374ea384f6 (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>
Diffstat (limited to 'lib/if_rmap.c')
0 files changed, 0 insertions, 0 deletions