diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-02-26 18:23:11 +0100 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2024-06-05 13:11:29 +0200 |
| commit | ca32945b1fd694d10307d2885df62251f46bf581 (patch) | |
| tree | 3d8c58c185062f8fe8c771bb55e3dfddf48c3572 /bgpd/rfapi/rfapi_rib.c | |
| parent | 3c86f776f053bc9032da8dc3b713f7726117b800 (diff) | |
bgpd: move labels from extra to extra->labels
Move labels from extra to extra->labels. Labels are now stored in a hash
list.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'bgpd/rfapi/rfapi_rib.c')
| -rw-r--r-- | bgpd/rfapi/rfapi_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/rfapi/rfapi_rib.c b/bgpd/rfapi/rfapi_rib.c index 5c63576720..a0bdf4961f 100644 --- a/bgpd/rfapi/rfapi_rib.c +++ b/bgpd/rfapi/rfapi_rib.c @@ -693,7 +693,7 @@ static void rfapiRibBi2Ri(struct bgp_path_info *bpi, struct rfapi_info *ri, /* label comes from MP_REACH_NLRI label */ vo->v.l2addr.label = bgp_path_info_num_labels(bpi) - ? decode_label(&bpi->extra->label[0]) + ? decode_label(&bpi->extra->labels->label[0]) : MPLS_INVALID_LABEL; rfapi_vn_options_free( |
