summaryrefslogtreecommitdiff
path: root/lib/mpls.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-03-30 10:26:17 -0400
committerGitHub <noreply@github.com>2020-03-30 10:26:17 -0400
commitff82bbbb912d84a4a9bc22a7efe7f51adada02eb (patch)
tree3027b6a8dc9cfa41f5679915ee677bdf36296e86 /lib/mpls.c
parenta326a812b30e5c11b9d67f9a9434342a9cf6008e (diff)
parentaccf6280fcdd0c29897234ad9786d9f3d0509b44 (diff)
Merge pull request #5901 from mjstapp/backup_nh_prep
zebra, lib: Backup nexthop (path) prep work
Diffstat (limited to 'lib/mpls.c')
-rw-r--r--lib/mpls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mpls.c b/lib/mpls.c
index 759fe1206d..ac5792a686 100644
--- a/lib/mpls.c
+++ b/lib/mpls.c
@@ -79,7 +79,7 @@ int mpls_str2label(const char *label_str, uint8_t *num_labels,
/*
* Label to string conversion, labels in string separated by '/'.
*/
-char *mpls_label2str(uint8_t num_labels, mpls_label_t *labels, char *buf,
+char *mpls_label2str(uint8_t num_labels, const mpls_label_t *labels, char *buf,
int len, int pretty)
{
char label_buf[BUFSIZ];