aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-08-27 07:57:16 -0700
committerNeale Ranns <nranns@cisco.com>2018-08-28 07:35:29 +0000
commitff83ce7b94c50660d56f94aa129452c93a795762 (patch)
tree11a3594213f3872156d37d1df6c0015dcdc041c2 /src/vnet
parent2506190ab439ef987d06d3161dd8390bd62e5017 (diff)
MPLS: allow 16 as a valid output label
Change-Id: I7e6045514d58010258889cadd220b7efcef7c1b9 Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit 9514fab0423725fddcb0a4f5ec070ac8d2764ac8)
Diffstat (limited to 'src/vnet')
-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))
/**