Improve l2_macs_events API to provide MAC move information
[vpp.git] / src / vnet / l2 / l2_learn.c
index 6ece1a3..04e0721 100644 (file)
@@ -207,6 +207,7 @@ l2learn_process (vlib_node_runtime_t * node,
          result0->fields.age_not = 0;
        }
       result0->fields.lrn_evt = (msm->client_pid != 0);
+      result0->fields.lrn_mov = (msm->client_pid != 0);
       counter_base[L2LEARN_ERROR_MAC_MOVE] += 1;
     }