]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: allow value 0 in aigp-metric setting 17178/head
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:35:33 +0000 (08:35 +0000)
commitfcf0b86851946fd3dbfca600b325c62031160bae
tree48e70c90424047652edd72dd17e80942c4ffcf13
parentd92fb2649ebdcf2c90a429d10550cfbb019be4c5
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