diff options
author | Renato Westphal <renato@openbsd.org> | 2017-06-03 03:53:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-03 03:53:53 +0200 |
commit | e91163e78cab7049f9bd87c7d22ac0b33c950f5f (patch) | |
tree | 9695ca3211f5d5f193750c7ad2bafe78b5f909d4 /zebra/zebra_mpls.h | |
parent | Merge pull request #652 from donaldsharp/miscapotamus (diff) | |
parent | zebra: define mpls label helpstr (diff) | |
download | frr-e91163e78cab7049f9bd87c7d22ac0b33c950f5f.tar.xz frr-e91163e78cab7049f9bd87c7d22ac0b33c950f5f.zip |
Merge pull request #647 from qlyoung/zebra-mpls-error-messages
zebra: more informative error messages & help strings for mpls labels
Diffstat (limited to 'zebra/zebra_mpls.h')
-rw-r--r-- | zebra/zebra_mpls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index 047b43213..52b947c06 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -43,6 +43,8 @@ (((nhlfe)->nexthop->type == NEXTHOP_TYPE_IPV6 || \ (nhlfe)->nexthop->type == NEXTHOP_TYPE_IPV6_IFINDEX) ? 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 */ |