]> 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)
committerEnke Chen <enchen@paloaltonetworks.com>
Sun, 20 Oct 2024 19:26:56 +0000 (12:26 -0700)
commite07f38a43f0b176fcfb96403db71291c04f76cfb
tree07de3d65c4be6682d33f61d20e344f76e8a90210
parent5d5da525b9d34044bbdf4da784132d6b5480b5da
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>
bgpd/bgp_routemap.c
doc/user/routemap.rst