summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vcl/vcl_sapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_sapi.c b/src/vcl/vcl_sapi.c
index 870a634db8c..5f4263b3b13 100644
--- a/src/vcl/vcl_sapi.c
+++ b/src/vcl/vcl_sapi.c
@@ -438,7 +438,7 @@ vcl_sapi_del_cert_key_pair (u32 ckpair_index)
mp->index = ckpair_index;
cs = &wrk->app_api_sock;
- err = clib_socket_sendmsg (cs, &msg, sizeof (msg), 0, 0);
+ err = clib_socket_sendmsg (cs, msg, sizeof (*msg), 0, 0);
if (err)
{
clib_error_report (err);