]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib, zebra: Move help string to appropriate header
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 18 Apr 2018 11:00:12 +0000 (07:00 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 18 Apr 2018 11:00:12 +0000 (07:00 -0400)
The MPLS_LABEL_HELPSTR belongs in lib/mpls.h in case
any other protocol wants to use it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/mpls.h
zebra/zebra_mpls.h

index 4e5c70cf8cf73be7c44007a5c5d078333bfab2dc..9e5d7e508dcd0daa392611929fdeb12597a6fb1e 100644 (file)
 #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] */
index 2637327a7e9038784f655659d675d7ae1e175762..20c73393166190783faa5c952cd39a257d76a9bf 100644 (file)
                 ? 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;