diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-08 10:19:34 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-08 20:38:14 -0500 |
| commit | 42567e0011491fe799eef6d236ecf1937c59c18f (patch) | |
| tree | 58a439cbecc28a92e5537ac109a9ef7fe231e557 /lib/mpls.h | |
| parent | 339e36d258ad73701d7b9eccc0e56e48cdea1a2d (diff) | |
bgpd, lib, sharpd, zebra: Use MPLS_LABEL_NONE
Modify mpls.h to rename MPLS_LABEL_ILLEGAL to be MPLS_LABEL_NONE.
Fix all pre-existing code that used MPLS_LABEL_ILLEGAL.
Modify the zapi vrf label message to use MPLS_LABEL_NONE as the
signal to remove label associated with a vrf.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/mpls.h')
| -rw-r--r-- | lib/mpls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mpls.h b/lib/mpls.h index b55d4875ae..1a1819c2c0 100644 --- a/lib/mpls.h +++ b/lib/mpls.h @@ -38,7 +38,7 @@ #define MPLS_LABEL_OAM_ALERT 14 /* [RFC3429] */ #define MPLS_LABEL_EXTENSION 15 /* [RFC7274] */ #define MPLS_LABEL_MAX 1048575 -#define MPLS_LABEL_ILLEGAL 0xFFFFFFFF /* for internal use only */ +#define MPLS_LABEL_NONE 0xFFFFFFFF /* for internal use only */ /* Minimum and maximum label values */ #define MPLS_LABEL_RESERVED_MIN 0 |
