]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix bug in a place about label validation 14264/head
authorValerian_He <1826906282@qq.com>
Wed, 23 Aug 2023 10:17:08 +0000 (10:17 +0000)
committerValerian_He <1826906282@qq.com>
Thu, 24 Aug 2023 02:17:06 +0000 (02:17 +0000)
commit77f3d6e5208fc6ea8a93ab69086165298a1f4bb7
tree27cc994fac59b1a195838d8b1a4afc3bc783545e
parent7090bf430792a67caafdea98d866d2028567d034
bgpd: fix bug in a place about label validation

Shouldn't validate the label after 'decode_label'. If we validate
the label after 'decode_label', even the 'MPLS_INVALID_LABEL' will
be valid then.

Signed-off-by: Valerian_He <1826906282@qq.com>
bgpd/bgp_route.c