summaryrefslogtreecommitdiffstats
path: root/src/vnet/sctp/sctp_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/sctp/sctp_packet.h')
-rw-r--r--src/vnet/sctp/sctp_packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/sctp/sctp_packet.h b/src/vnet/sctp/sctp_packet.h
index 427e2f39496..04995aa7ee3 100644
--- a/src/vnet/sctp/sctp_packet.h
+++ b/src/vnet/sctp/sctp_packet.h
@@ -951,7 +951,7 @@ vnet_sctp_set_hostname_address (sctp_hostname_param_t * h, char *hostname)
{
h->param_hdr.length = FQDN_MAX_LENGTH;
h->param_hdr.type = clib_host_to_net_u16 (SCTP_HOSTNAME_ADDRESS_TYPE);
- memset (h->hostname, '0', FQDN_MAX_LENGTH);
+ clib_memset (h->hostname, '0', FQDN_MAX_LENGTH);
memcpy (h->hostname, hostname, FQDN_MAX_LENGTH);
}