summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-02-08 09:50:32 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-02-08 20:35:14 -0500
commit339e36d258ad73701d7b9eccc0e56e48cdea1a2d (patch)
tree38adacaebff070103e0388f5aff39d8668cbbbef /lib/zclient.h
parent70e98a7fe7296a1279c6b7142e57221f71ff3121 (diff)
lib, sharpd, zebra: Add new enum for lsp type and pass it through.
Add the ability to pass the lsp owner type through the zapi and in addition add a new label type for the sharp protocol for testing. Finally modify zebra_mpls.h to not have defaults specified for the enum. That way when we add a new LSP type the compile fails and the person doing the addition knows where he has to touch shit. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 23cedf97bd..ff65838b53 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -392,7 +392,7 @@ extern void redist_del_instance(struct redist_proto *, u_short);
* operation.
*/
extern void zclient_send_vrf_label(struct zclient *zclient, vrf_id_t vrf_id,
- mpls_label_t label);
+ mpls_label_t label, enum lsp_types_t ltype);
extern void zclient_send_reg_requests(struct zclient *, vrf_id_t);
extern void zclient_send_dereg_requests(struct zclient *, vrf_id_t);