nat: nat44 enable/disable dynamic config
[vpp.git] / src / plugins / ioam / lib-vxlan-gpe / ioam_transit.c
index 60eabc2..215f14b 100644 (file)
@@ -16,7 +16,7 @@
 #include <vppinfra/hash.h>
 #include <vnet/vnet.h>
 #include <vnet/ip/ip.h>
-#include <vnet/udp/udp.h>
+#include <vnet/udp/udp_local.h>
 #include <vnet/ethernet/ethernet.h>
 #include <vnet/vxlan-gpe/vxlan_gpe.h>
 #include <ioam/lib-vxlan-gpe/vxlan_gpe_ioam_packet.h>
@@ -120,7 +120,7 @@ vxlan_gpe_transit_ioam (vlib_main_t * vm,
                      uword *t = NULL;
                      vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
                      fib_prefix_t key4;
-                     memset (&key4, 0, sizeof (key4));
+                     clib_memset (&key4, 0, sizeof (key4));
                      key4.fp_proto = FIB_PROTOCOL_IP4;
                      key4.fp_addr.ip4.as_u32 = ip0->dst_address.as_u32;
                      t = hash_get_mem (hm->dst_by_ip4, &key4);