MPLS: allow 16 as a valid output label 24/14524/1
authorNeale Ranns <nranns@cisco.com>
Mon, 27 Aug 2018 14:57:16 +0000 (07:57 -0700)
committerNeale Ranns <nranns@cisco.com>
Tue, 28 Aug 2018 07:35:29 +0000 (07:35 +0000)
Change-Id: I7e6045514d58010258889cadd220b7efcef7c1b9
Signed-off-by: Neale Ranns <nranns@cisco.com>
(cherry picked from commit 9514fab0423725fddcb0a4f5ec070ac8d2764ac8)

src/vnet/mpls/mpls_types.h

index c21bdf1..260cd8b 100644 (file)
@@ -56,7 +56,7 @@
 #define MPLS_LABEL_POP (MPLS_IETF_MAX_LABEL+2)
 
 #define MPLS_LABEL_IS_REAL(_lbl) \
-    (((_lbl) > MPLS_IETF_MIN_UNRES_LABEL) &&   \
+    (((_lbl) >= MPLS_IETF_MIN_UNRES_LABEL) &&  \
      ((_lbl) <= MPLS_IETF_MAX_UNRES_LABEL))
 
 /**