summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_mpls_null.c')
-rw-r--r--zebra/zebra_mpls_null.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_null.c b/zebra/zebra_mpls_null.c
index dc9993e7e7..2953138dbc 100644
--- a/zebra/zebra_mpls_null.c
+++ b/zebra/zebra_mpls_null.c
@@ -5,6 +5,20 @@
#include "zebra/zebra_mpls.h"
int
+mpls_str2label (const char *label_str, u_int8_t *num_labels,
+ mpls_label_t *labels)
+{
+ return 0;
+}
+
+char *
+mpls_label2str (u_int8_t num_labels, mpls_label_t *labels,
+ char *buf, int len)
+{
+ return NULL;
+}
+
+int
zebra_mpls_lsp_label_consistent (struct zebra_vrf *zvrf, mpls_label_t in_label,
mpls_label_t out_label, enum nexthop_types_t gtype,
union g_addr *gate, char *ifname, ifindex_t ifindex)