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:
b2ffc69
)
MPLS VPLS CLI fix
14/12014/2
author
Neale Ranns
<neale.ranns@cisco.com>
Mon, 23 Apr 2018 12:55:49 +0000
(
05:55
-0700)
committer
Chris Luke
<chris_luke@comcast.com>
Mon, 23 Apr 2018 18:34:43 +0000
(18:34 +0000)
set the IS_RX flag based on CLI 'l2-input-on'
Change-Id: I53d9129a7c09f605c1eb55753426f392b1b480bc
Signed-off-by: Neale Ranns <neale.ranns@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
8b1faf5
..
035f700
100644
(file)
--- a/
src/vnet/fib/fib_types.c
+++ b/
src/vnet/fib/fib_types.c
@@
-502,6
+502,7
@@
unformat_fib_route_path (unformat_input_t * input, va_list * args)
{
rpath->frp_proto = DPO_PROTO_ETHERNET;
*payload_proto = DPO_PROTO_ETHERNET;
+ rpath->frp_flags |= FIB_ROUTE_PATH_INTF_RX;
}
else if (unformat (input, "via-label %U",
unformat_mpls_unicast_label,