summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-04-23 05:55:49 -0700
committerChris Luke <chris_luke@comcast.com>2018-04-23 18:34:43 +0000
commite927f9a67e68278bc84741b8acf265e941f3c41c (patch)
tree32ef0435dcb300f84dc6ebd06bd57f4de27b2239 /src/vnet
parentb2ffc697570f17f413fb4f2748760c44f8f21661 (diff)
MPLS VPLS CLI fix
set the IS_RX flag based on CLI 'l2-input-on' Change-Id: I53d9129a7c09f605c1eb55753426f392b1b480bc Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/fib/fib_types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_types.c b/src/vnet/fib/fib_types.c
index 8b1faf5fa86..035f70036eb 100644
--- 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,