Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
MPLS Unifom mode
[vpp.git]
/
src
/
vnet
/
mpls
/
mpls.c
diff --git
a/src/vnet/mpls/mpls.c
b/src/vnet/mpls/mpls.c
index
5127bba
..
be72d3f
100644
(file)
--- a/
src/vnet/mpls/mpls.c
+++ b/
src/vnet/mpls/mpls.c
@@
-47,6
+47,9
@@
u8 * format_mpls_unicast_label (u8 * s, va_list * args)
case MPLS_IETF_GAL_LABEL:
s = format (s, "%s", MPLS_IETF_GAL_STRING);
break;
case MPLS_IETF_GAL_LABEL:
s = format (s, "%s", MPLS_IETF_GAL_STRING);
break;
+ case MPLS_LABEL_POP:
+ s = format (s, "pop");
+ break;
default:
s = format (s, "%d", label);
break;
default:
s = format (s, "%d", label);
break;
@@
-386,7
+389,7
@@
done:
VLIB_CLI_COMMAND (mpls_local_label_command, static) = {
.path = "mpls local-label",
.function = vnet_mpls_local_label,
VLIB_CLI_COMMAND (mpls_local_label_command, static) = {
.path = "mpls local-label",
.function = vnet_mpls_local_label,
- .short_help = "mpls local-label [add|del] <label-value> [eos|non-eos] via [next-hop-address] [next-hop-interface] [next-hop-table <value>] [weight <value>] [preference <value>] [udp-encap-id <value>] [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>] [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-
connect
ed] [rx-ip4 <interface>] [out-labels <value value value>]",
+ .short_help = "mpls local-label [add|del] <label-value> [eos|non-eos] via [next-hop-address] [next-hop-interface] [next-hop-table <value>] [weight <value>] [preference <value>] [udp-encap-id <value>] [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>] [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-
attach
ed] [rx-ip4 <interface>] [out-labels <value value value>]",
};
clib_error_t *
};
clib_error_t *