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:
@ -502,6 +502,7 @@ unformat_fib_route_path (unformat_input_t * input, va_list * args)
|
|||||||
{
|
{
|
||||||
rpath->frp_proto = DPO_PROTO_ETHERNET;
|
rpath->frp_proto = DPO_PROTO_ETHERNET;
|
||||||
*payload_proto = DPO_PROTO_ETHERNET;
|
*payload_proto = DPO_PROTO_ETHERNET;
|
||||||
|
rpath->frp_flags |= FIB_ROUTE_PATH_INTF_RX;
|
||||||
}
|
}
|
||||||
else if (unformat (input, "via-label %U",
|
else if (unformat (input, "via-label %U",
|
||||||
unformat_mpls_unicast_label,
|
unformat_mpls_unicast_label,
|
||||||
|
Reference in New Issue
Block a user