summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-05-24 13:50:37 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-06-16 10:54:58 +0200
commit658c5ebe385ac315367ce964cda06f52ad050b07 (patch)
tree7c80bc1d06f5182bb04f4e61f3607a40b20613b7 /lib/json.c
parentef1fc25431684864ae90d6ea674dc0bc57cc4b51 (diff)
bgpd: fix label allocation per next-hop applied to unicast
The label allocation per next-hop functionality is calling the 'bgp_find_or_add_nexthop()' method using the SAFI_MPLS_VPN safi parameter, whereas the call is supposed to apply to unicast paths. Fix this by using the SAFI_UNICAST safi parameter in the call. Simplify the vpn_leak_from_vrf_get_per_nexthop_label() API by removing the safi parameter from the function. Fixes: 577be36a41be ("bgpd: add support for l3vpn per-nexthop label") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions