Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7752b39
)
add 'src-lookup' keyword for FIB paths
37/13337/2
author
Neale Ranns
<nranns@cisco.com>
Tue, 3 Jul 2018 13:41:47 +0000
(09:41 -0400)
committer
Marco Varlese
<marco.varlese@suse.de>
Wed, 4 Jul 2018 08:42:54 +0000
(08:42 +0000)
Change-Id: I4554d1e94bd70ef5b3b0aaeb1a0fceaeb81c5f96
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/fib/fib_types.c
patch
|
blob
|
history
diff --git
a/src/vnet/fib/fib_types.c
b/src/vnet/fib/fib_types.c
index
035f700
..
1046e45
100644
(file)
--- a/
src/vnet/fib/fib_types.c
+++ b/
src/vnet/fib/fib_types.c
@@
-495,6
+495,10
@@
unformat_fib_route_path (unformat_input_t * input, va_list * args)
rpath->frp_proto = DPO_PROTO_MPLS;
*payload_proto = DPO_PROTO_MPLS;
}
+ else if (unformat (input, "src-lookup"))
+ {
+ rpath->frp_flags |= FIB_ROUTE_PATH_SOURCE_LOOKUP;
+ }
else if (unformat (input,
"l2-input-on %U",
unformat_vnet_sw_interface, vnm,