summaryrefslogtreecommitdiffstats
path: root/src/vat2/vat2_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vat2/vat2_helpers.h')
-rw-r--r--src/vat2/vat2_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vat2/vat2_helpers.h b/src/vat2/vat2_helpers.h
index 7b197608a7b..d9ce2af6b35 100644
--- a/src/vat2/vat2_helpers.h
+++ b/src/vat2/vat2_helpers.h
@@ -29,7 +29,7 @@ vat2_control_ping (u32 context)
vl_api_control_ping_t mp = {0};
mp._vl_msg_id = vac_get_msg_index(VL_API_CONTROL_PING_CRC);
mp.context = context;
- vl_api_control_ping_t_endian(&mp);
+ vl_api_control_ping_t_endian (&mp, 1 /* to network */);
vac_write((char *)&mp, sizeof(mp));
}