From: Frank Kardel Date: Mon, 12 Oct 2009 03:40:08 +0000 (+0000) Subject: ntp_io.c, ChangeLog: X-Git-Tag: NTP_4_2_5P233_RC~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc08acc3df4a12a2ac455b1e35115c383c2c6db8;p=thirdparty%2Fntp.git ntp_io.c, ChangeLog: cast address pointer to void * for bug 1337 bk: 4ad2a5186WWtXIG58oFopcB-gNkPcg --- diff --git a/ChangeLog b/ChangeLog index 3c010f201..ddc9c2ffe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 1337] cast address pointer to void * * [Bug 1337] fix incorrect args to setsockopt(fd, IP_MULTICAST_IF,...) (4.2.5p231-RC) 2009/10/10 Released by Harlan Stenn * [Bug 1335] Broadcast client degraded by wildcard default change. diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 2d47d1352..c8ab5f87e 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -2120,7 +2120,7 @@ enable_multicast_if( case AF_INET: if (setsockopt(iface->fd, IPPROTO_IP, IP_MULTICAST_IF, - &NSRCADR(&iface->sin), + (void *)&NSRCADR(&iface->sin), sizeof(NSRCADR(&iface->sin)))) { msyslog(LOG_ERR,