summaryrefslogtreecommitdiff
path: root/ldpd/logmsg.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-31 18:24:06 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-02-08 20:31:37 -0500
commit70e98a7fe7296a1279c6b7142e57221f71ff3121 (patch)
tree77325f78eefb0c95c96d18f8f09fee296d55db35 /ldpd/logmsg.c
parentb9abd9adac023bdb4927e6f9d095a3234240643a (diff)
*: Make code use a consisten definition of labels
Turns out we had 3 different ways to define labels all of them overlapping with the same meanings. Consolidate to 1. This one choosen is consistent naming wise with what the *bsd and linux kernels use. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ldpd/logmsg.c')
-rw-r--r--ldpd/logmsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldpd/logmsg.c b/ldpd/logmsg.c
index c819b33b43..a9b066a3da 100644
--- a/ldpd/logmsg.c
+++ b/ldpd/logmsg.c
@@ -115,11 +115,11 @@ log_label(uint32_t label)
case NO_LABEL:
snprintf(buf, TF_LEN, "-");
break;
- case MPLS_LABEL_IMPLNULL:
+ case MPLS_LABEL_IMPLICIT_NULL:
snprintf(buf, TF_LEN, "imp-null");
break;
- case MPLS_LABEL_IPV4NULL:
- case MPLS_LABEL_IPV6NULL:
+ case MPLS_LABEL_IPV4_EXPLICIT_NULL:
+ case MPLS_LABEL_IPV6_EXPLICIT_NULL:
snprintf(buf, TF_LEN, "exp-null");
break;
default: