From owner-svn-src-stable@FreeBSD.ORG Sun Oct 12 16:46:04 2014 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36443B29; Sun, 12 Oct 2014 16:46:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21FF7C5F; Sun, 12 Oct 2014 16:46:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9CGk3iX048267; Sun, 12 Oct 2014 16:46:03 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9CGk3H4048266; Sun, 12 Oct 2014 16:46:03 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201410121646.s9CGk3H4048266@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Sun, 12 Oct 2014 16:46:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r272985 - stable/10/contrib/ipfilter/lib X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2014 16:46:04 -0000 Author: cy Date: Sun Oct 12 16:46:03 2014 New Revision: 272985 URL: https://svnweb.freebsd.org/changeset/base/272985 Log: MFC r271970 ipv6 address for test.hosts.dots in wrong byte order. Obtained from: ipfilter CVS repo (r1.11), netbsd CVS repo (r1.5) Modified: stable/10/contrib/ipfilter/lib/gethost.c Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/ipfilter/lib/gethost.c ============================================================================== --- stable/10/contrib/ipfilter/lib/gethost.c Sun Oct 12 15:49:52 2014 (r272984) +++ stable/10/contrib/ipfilter/lib/gethost.c Sun Oct 12 16:46:03 2014 (r272985) @@ -25,10 +25,10 @@ int gethost(family, name, hostp) } #ifdef USE_INET6 if (family == AF_INET6) { - hostp->i6[0] = 0xfe80aa55; - hostp->i6[1] = 0x12345678; - hostp->i6[2] = 0x5a5aa5a5; - hostp->i6[3] = 0xfedcba98; + hostp->i6[0] = htonl(0xfe80aa55); + hostp->i6[1] = htonl(0x12345678); + hostp->i6[2] = htonl(0x5a5aa5a5); + hostp->i6[3] = htonl(0xfedcba98); } #endif return 0;