summaryrefslogtreecommitdiffstats
path: root/src/vnet/mpls
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-08-27 07:57:16 -0700
committerDamjan Marion <dmarion@me.com>2018-08-27 17:10:55 +0000
commit9514fab0423725fddcb0a4f5ec070ac8d2764ac8 (patch)
treee084f49ed1c62e5caa1c2ec65b2d19c9b6db25ea /src/vnet/mpls
parentf8520159d5e5b4988f56919d34aae3ee7ce38cdb (diff)
MPLS: allow 16 as a valid output label
Change-Id: I7e6045514d58010258889cadd220b7efcef7c1b9 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/mpls')
-rw-r--r--src/vnet/mpls/mpls_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/mpls/mpls_types.h b/src/vnet/mpls/mpls_types.h
index c21bdf1eace..260cd8bfe09 100644
--- a/src/vnet/mpls/mpls_types.h
+++ b/src/vnet/mpls/mpls_types.h
@@ -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))
/**