svn commit: r276994 - stable/9/contrib/ntp/ntpd
Hajimu UMEMOTO
ume at FreeBSD.org
Sun Jan 11 18:50:50 UTC 2015
Author: ume
Date: Sun Jan 11 18:50:49 2015
New Revision: 276994
URL: https://svnweb.freebsd.org/changeset/base/276994
Log:
Correct comparison of IPv6 wildcard address.
MFH: r276814
Modified:
stable/9/contrib/ntp/ntpd/ntp_io.c
Directory Properties:
stable/9/contrib/ntp/ (props changed)
Modified: stable/9/contrib/ntp/ntpd/ntp_io.c
==============================================================================
--- stable/9/contrib/ntp/ntpd/ntp_io.c Sun Jan 11 18:43:45 2015 (r276993)
+++ stable/9/contrib/ntp/ntpd/ntp_io.c Sun Jan 11 18:50:49 2015 (r276994)
@@ -1124,7 +1124,7 @@ is_wildcard_addr(struct sockaddr_storage
#ifdef INCLUDE_IPV6_SUPPORT
if (sas->ss_family == AF_INET6 &&
memcmp(&((struct sockaddr_in6*)sas)->sin6_addr, &in6addr_any,
- sizeof(in6addr_any) == 0))
+ sizeof(in6addr_any)) == 0)
return 1;
#endif
More information about the svn-src-stable-9
mailing list