MPLS VPLS CLI fix 14/12014/2
authorNeale Ranns <neale.ranns@cisco.com>
Mon, 23 Apr 2018 12:55:49 +0000 (05:55 -0700)
committerChris 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

index 8b1faf5..035f700 100644 (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,