Author: ume Date: Thu Jan 8 07:47:39 2015 New Revision: 276814 URL: https://svnweb.freebsd.org/changeset/base/276814
Log: Correct comparison of IPv6 wildcard address. MFC after: 3 days Modified: head/contrib/ntp/ntpd/ntp_io.c Modified: head/contrib/ntp/ntpd/ntp_io.c ============================================================================== --- head/contrib/ntp/ntpd/ntp_io.c Thu Jan 8 06:32:56 2015 (r276813) +++ head/contrib/ntp/ntpd/ntp_io.c Thu Jan 8 07:47:39 2015 (r276814) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"