summaryrefslogtreecommitdiffstats
path: root/lib/mpls.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 13:00:12 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 13:00:12 +0200
commitf890b1461dc1e342fe5fbeeacbe94a219405f815 (patch)
tree4b22ef2624430f260fd946e39495e8d6d9b5ba88 /lib/mpls.h
parentMerge pull request #2035 from vincentbernat/fix/no-etag-esi-ignore (diff)
downloadfrr-f890b1461dc1e342fe5fbeeacbe94a219405f815.tar.xz
frr-f890b1461dc1e342fe5fbeeacbe94a219405f815.zip
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/mpls.h')
-rw-r--r--lib/mpls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mpls.h b/lib/mpls.h
index 4e5c70cf8..9e5d7e508 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] */