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>
This commit is contained in:
Neale Ranns
2018-04-23 05:55:49 -07:00
committed by Chris Luke
parent b2ffc69757
commit e927f9a67e

View File

@ -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,