]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: allow value 0 in aigp-metric setting 17179/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:46 +0000 (08:35 +0000)
commite8d7d45685aac0e2ec32a1b0841d1d95a7ee758c
tree388cdc470ee7c8d4622a6aea27165ad7d88443db
parent0a5e255c2fc0f52f91930c7738da8bf83014ae55
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