summaryrefslogtreecommitdiff
path: root/lib/frrscript.c
diff options
context:
space:
mode:
authorEnke Chen <enchen@paloaltonetworks.com>2024-10-16 11:15:28 -0700
committerEnke Chen <enchen@paloaltonetworks.com>2024-10-16 11:15:28 -0700
commitf65356d8bb9a43b1725fafdbd30aba0de9d214fa (patch)
treef7eb4ee6c9d51bfe17419820eac0b56b83c02601 /lib/frrscript.c
parent75e34c032b97016d623e4e3c3b8a600c3890d4af (diff)
bgpd: fix several issues in sourcing AIGP attribute
Fix several issues in sourcing AIGP attribute: 1) AIGP should not be set as default for a redistributed route or a static network. It should be set by config instead. 2) AIGP sourced by "set aigp-metric igp-metric" in a route-map does not set the correct value for a redistributed route. 3) When redistribute a connected route like loopback, the AGIP (with value 0) is sourced by "set aigp-metric igp-metric", but the attribute is not propagated as the attribute flag is not set. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
Diffstat (limited to 'lib/frrscript.c')
0 files changed, 0 insertions, 0 deletions