bzero has 2 arguments.
This commit is contained in:
parent
b88a1d4040
commit
e85bd57a0e
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ sysio_mcast_join(sock * s)
|
|||
|
||||
set_inaddr(&m, s->iface->addr->ip );
|
||||
|
||||
bzero(&mreq, 0, sizeof(mreq));
|
||||
bzero(&mreq, sizeof(mreq));
|
||||
set_inaddr(&mreq.imr_interface, s->iface->addr->ip);
|
||||
set_inaddr(&mreq.imr_multiaddr, s->daddr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue