Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
fib: Support the POP of a Psuedo Wire Control Word
[vpp.git]
/
src
/
vnet
/
fib
/
fib_types.c
diff --git
a/src/vnet/fib/fib_types.c
b/src/vnet/fib/fib_types.c
index
4b1280f
..
386aece
100644
(file)
--- a/
src/vnet/fib/fib_types.c
+++ b/
src/vnet/fib/fib_types.c
@@
-537,6
+537,10
@@
unformat_fib_route_path (unformat_input_t * input, va_list * args)
{
rpath->frp_flags |= FIB_ROUTE_PATH_RESOLVE_VIA_ATTACHED;
}
+ else if (unformat (input, "pop-pw-cw"))
+ {
+ rpath->frp_flags |= FIB_ROUTE_PATH_POP_PW_CW;
+ }
else if (unformat (input,
"ip4-lookup-in-table %d",
&rpath->frp_fib_index))