MPLS: allow 16 as a valid output label 08/14508/2
authorNeale Ranns <nranns@cisco.com>
Mon, 27 Aug 2018 14:57:16 +0000 (07:57 -0700)
committerDamjan Marion <dmarion@me.com>
Mon, 27 Aug 2018 17:10:55 +0000 (17:10 +0000)
Change-Id: I7e6045514d58010258889cadd220b7efcef7c1b9
Signed-off-by: Neale Ranns <nranns@cisco.com>
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))
 
 /**