From f890b1461dc1e342fe5fbeeacbe94a219405f815 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 18 Apr 2018 07:00:12 -0400 Subject: [PATCH] lib, zebra: Move help string to appropriate header The MPLS_LABEL_HELPSTR belongs in lib/mpls.h in case any other protocol wants to use it. Signed-off-by: Donald Sharp --- lib/mpls.h | 4 ++++ zebra/zebra_mpls.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/mpls.h b/lib/mpls.h index 4e5c70cf8c..9e5d7e508d 100644 --- a/lib/mpls.h +++ b/lib/mpls.h @@ -28,6 +28,10 @@ #undef MPLS_LABEL_MAX #endif +#define MPLS_LABEL_HELPSTR \ + "Specify label(s) for this route\nOne or more " \ + "labels in the range (16-1048575) separated by '/'\n" + /* Well-known MPLS label values (RFC 3032 etc). */ #define MPLS_LABEL_IPV4_EXPLICIT_NULL 0 /* [RFC3032] */ #define MPLS_LABEL_ROUTER_ALERT 1 /* [RFC3032] */ diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index 2637327a7e..20c7339316 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -43,10 +43,6 @@ ? AF_INET6 \ : AF_INET) -#define MPLS_LABEL_HELPSTR \ - "Specify label(s) for this route\nOne or more " \ - "labels in the range (16-1048575) separated by '/'\n" - /* Typedefs */ typedef struct zebra_ile_t_ zebra_ile_t; -- 2.39.5