Date: Sun, 29 May 2011 07:40:48 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/ntp/ntpd ntp_io.c Message-ID: <201105290741.p4T7fBru023042@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2011-05-29 07:40:48 UTC FreeBSD src repository Modified files: contrib/ntp/ntpd ntp_io.c Log: SVN rev 222444 on 2011-05-29 07:40:48Z by bz The argument to setsockopt for IP_MULTICAST_LOOP depends on operating system and is decided upon by configure and could be an u_int or a u_char. For FreeBSD it is a u_char. For IPv6 however RFC 3493, 5.2 defines the argument to IPV6_MULTICAST_LOOP to be an unsigned integer so make sure we always use that using a second variable for the IPV6 case. This is to get rid of these error messages every 5 minutes on some systems: ntpd[1530]: setsockopt IPV6_MULTICAST_LOOP failure: Invalid argument on socket 22, addr fe80::... for multicast address ff02::101 While here also fix the copy&paste error in the log message for IPV6_MULTICAST_LOOP. Reviewed by: roberto Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days Filed as: Bug 1936 on ntp.org Revision Changes Path 1.5 +7 -2 src/contrib/ntp/ntpd/ntp_io.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105290741.p4T7fBru023042>