Update L2FIB entry timestamp only if BD aging enabled (VPP-1002)
[vpp.git] / src / vnet / l2 / l2_input.c
index faed7c7..e556b14 100644 (file)
@@ -225,6 +225,7 @@ classify_and_dispatch (l2input_main_t * msm, vlib_buffer_t * b0, u32 * next0)
       };
       /* *INDENT-ON* */
       vnet_buffer (b0)->l2.l2fib_sn = sn.as_u16;;
+      vnet_buffer (b0)->l2.bd_age = bd_config->mac_age;
 
       /*
        * Process bridge domain feature enables.