c11 safe string handling support
[vpp.git] / src / vnet / ip / ip4_punt_drop.c
index 3600d7c..ed4cbcf 100644 (file)
@@ -445,7 +445,7 @@ ip4_punt_redirect_cmd (vlib_main_t * vm,
        ;
       else if (unformat (line_input, "via %U",
                         unformat_vnet_sw_interface, vnm, &tx_sw_if_index))
-       memset (&nh, 0, sizeof (nh));
+       clib_memset (&nh, 0, sizeof (nh));
       else
        {
          error = unformat_parse_error (line_input);