misc: fix issues reported by clang-15
[vpp.git] / src / plugins / ikev2 / ikev2_priv.h
index 4ce1478..faa0ca7 100644 (file)
@@ -532,7 +532,7 @@ typedef struct
   u8 dpd_disabled;
 
   /* pointer to name resolver function in dns plugin */
-  int (*dns_resolve_name) ();
+  void *dns_resolve_name_ptr;
 
   /* flag indicating whether lazy init is done or not */
   int lazy_init_done;