]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix display of local label in show bgp
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 25 Oct 2024 15:54:07 +0000 (17:54 +0200)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 28 Oct 2024 14:38:35 +0000 (14:38 +0000)
commitfb1df2e661fc2eb2e502c6a3f7491f289540ff2a
tree0a2fff0e86b33d167319149781cf69f9385bc8ce
parentfbc85e8ecad002888d0686c9e4706067c4215d22
bgpd: fix display of local label in show bgp

Fix the display of the local label in show bgp.

> r1# show bgp ipv4 labeled-unicast 172.16.2.2/32
> BGP routing table entry for 172.16.2.2/32, version 2
> Local label: 16 <---- MISSING
> Paths: (1 available, best #1, table default, vrf (null))
>   Advertised to non peer-group peers:
>  192.168.1.2
>  65501
>    192.168.1.2 from 192.168.1.2 (172.16.2.2)
>      Origin IGP, metric 0, valid, external, best (First path received)
>      Remote label: 3
>      Last update: Fri Oct 25 17:55:45 2024

Fixes: 67f67ba481 ("bgpd: Drop label_ntop/label_pton functions")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
(cherry picked from commit e7b3276ace65d59edb4d614158d4f2959f12f868)
bgpd/bgp_route.c