summaryrefslogtreecommitdiff
path: root/sysdep/bsd/sysio.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-01 08:59:47 +0000
committerOndrej Filip <feela@network.cz>2004-06-01 08:59:47 +0000
commitb88a1d4040df6bcd49eefe1c2c1ba8fa66ad0d43 (patch)
treef2fa6d44c65f2e6f7f4cea3b505d1e4c50a127db /sysdep/bsd/sysio.h
parentfa643be1cc6973923a46ac52a20ccec2ec5e3f18 (diff)
memset -> bzero
Diffstat (limited to 'sysdep/bsd/sysio.h')
-rw-r--r--sysdep/bsd/sysio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/bsd/sysio.h b/sysdep/bsd/sysio.h
index db69b97d..8afa50be 100644
--- a/sysdep/bsd/sysio.h
+++ b/sysdep/bsd/sysio.h
@@ -57,7 +57,7 @@ sysio_mcast_join(sock * s)
set_inaddr(&m, s->iface->addr->ip );
- memset(&mreq, 0, sizeof(mreq));
+ bzero(&mreq, 0, sizeof(mreq));
set_inaddr(&mreq.imr_interface, s->iface->addr->ip);
set_inaddr(&mreq.imr_multiaddr, s->daddr);