]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: allow value 0 in aigp-metric setting
authorEnke Chen <enchen@paloaltonetworks.com>
Sun, 20 Oct 2024 19:25:46 +0000 (12:25 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 21 Oct 2024 08:34:30 +0000 (08:34 +0000)
commitc09f9794833c4737b4ae95ea6fbe16c4ba4aeafb
tree57588e8826b32aab2b18b6997bed8ad3503cd15c
parentddce31355873d366b2cd30a24540d464d9550176
bgpd: allow value 0 in aigp-metric setting

The value of 0 is accepted from peers, and can also be set by the
route-map "set aigp-metric igp-metric". For coonsistency, it should
be allowed in "set aigp-metric <value>" as well.

Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
(cherry picked from commit e07f38a43f0b176fcfb96403db71291c04f76cfb)
bgpd/bgp_routemap.c
doc/user/routemap.rst