From owner-freebsd-net@FreeBSD.ORG Tue May 18 05:43:09 2010 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C60106566C; Tue, 18 May 2010 05:43:09 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8CD318FC0A; Tue, 18 May 2010 05:43:08 +0000 (UTC) Received: from alph.d.allbsd.org (p5247-ipbf302funabasi.chiba.ocn.ne.jp [125.170.154.247]) (authenticated bits=128) by mail.allbsd.org (8.14.3/8.14.3) with ESMTP id o4I5glUq049545; Tue, 18 May 2010 14:42:57 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.4/8.14.4) with ESMTP id o4I5gjEl098619; Tue, 18 May 2010 14:42:47 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Tue, 18 May 2010 14:19:33 +0900 (JST) Message-Id: <20100518.141933.111781762.hrs@allbsd.org> To: alfred@FreeBSD.org From: Hiroki Sato In-Reply-To: <20100516062211.GC6175@elvis.mu.org> References: <20100516062211.GC6175@elvis.mu.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_May_18_14_19_33_2010_043)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Tue, 18 May 2010 14:43:00 +0900 (JST) X-Spam-Status: No, score=-99.2 required=13.0 tests=AWL,CONTENT_TYPE_PRESENT, RCVD_IN_PBL, SPF_SOFTFAIL, USER_IN_WHITELIST, X_MAILER_PRESENT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gatekeeper.allbsd.org Cc: freebsd-net@FreeBSD.org Subject: Re: Patch for ip6_sprintf(), please review X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 05:43:09 -0000 ----Security_Multipart(Tue_May_18_14_19_33_2010_043)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Alfred Perlstein wrote in <20100516062211.GC6175@elvis.mu.org>: al> The following patch seems appropriate to apply al> to fix the kernel ip6_sprintf() function. al> al> What it is doing is ensuring that when we al> abbreviate addresses that the longest string al> of zeros is shortend, not the first run of al> zeros. (snip) al> Diff is attached in text format. I think the code is correct and reasonable for commit. -- Hiroki ----Security_Multipart(Tue_May_18_14_19_33_2010_043)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkvyI2UACgkQTyzT2CeTzy3onACeMSAlB1WT4HngMasbkeOQYsWA KKYAnRCXaBJkB2uDmu0/uCPHKFra+J/t =b9LX -----END PGP SIGNATURE----- ----Security_Multipart(Tue_May_18_14_19_33_2010_043)----