From ff83ce7b94c50660d56f94aa129452c93a795762 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Mon, 27 Aug 2018 07:57:16 -0700 Subject: MPLS: allow 16 as a valid output label Change-Id: I7e6045514d58010258889cadd220b7efcef7c1b9 Signed-off-by: Neale Ranns (cherry picked from commit 9514fab0423725fddcb0a4f5ec070ac8d2764ac8) --- src/vnet/mpls/mpls_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/mpls') 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)) /** -- cgit 1.2.3-korg