]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: allow value 0 in aigp-metric setting 17175/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:34:21 +0000 (08:34 +0000)
commit5adaa9ec7fb50abe2fd0783c67659670e2fd69d5
tree08008b8fb4d2f560a6183d4b340ac66789a66731
parent6b3836f78efb2c51ef5518373444c3889f264320
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