diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-14 07:11:09 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-14 07:11:09 +0100 |
commit | 7d061b3cb120c35c5b580bbbcfb1ec9602f58956 (patch) | |
tree | da99a4dce9986616c6830c246d74bed871eab9fb /zebra/zebra_vrf.h | |
parent | isisd: Free up some memory allocated. (diff) | |
download | frr-7d061b3cb120c35c5b580bbbcfb1ec9602f58956.tar.xz frr-7d061b3cb120c35c5b580bbbcfb1ec9602f58956.zip |
lib, sharpd, zebra: Update the zapi_vrf_label call to add afi
Add the ability to pass in an afi to zebra. zebra_vrf keeps
track of the afi/label tuple and then does the right thing
before we call down. AF_MPLS does not care about v4 or v6
it just knows label and what device to use for lookup.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vrf.h')
-rw-r--r-- | zebra/zebra_vrf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h index bfeb4b386..d3a5316b9 100644 --- a/zebra/zebra_vrf.h +++ b/zebra/zebra_vrf.h @@ -80,7 +80,7 @@ struct zebra_vrf { struct zebra_ns *zns; /* MPLS Label to handle L3VPN <-> vrf popping */ - mpls_label_t label; + mpls_label_t label[AFI_MAX]; /* MPLS static LSP config table */ struct hash *slsp_table; |