summaryrefslogtreecommitdiff
path: root/lib/lib_errors.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-05-25 12:40:45 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-06-16 10:54:58 +0200
commit28d5c6e531b685725ee4c6fec90813041bfb2bc3 (patch)
tree0b6ff281bafdc3eebaf3cb008cbbf577c99293fa /lib/lib_errors.h
parent76c803171b067a22aa5695b6019fb2218d497c00 (diff)
bgpd: move label allocation code to a specific function
The label allocation mechanism is called implicitly for labeled unicast paths. The check should be explicit, because the current patch set will extend the mechanism for mpls vpn paths, and the code should explicitly tell which safi calls which code. Fix this implicit call by checking the safi value. Move the code to a specific function. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions