From owner-freebsd-net@FreeBSD.ORG Wed Jan 20 02:17:15 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 2A1301065694 for ; Wed, 20 Jan 2010 02:17:15 +0000 (UTC) (envelope-from scotty@l5computing.com) Received: from na3sys009aog109.obsmtp.com (na3sys009aog109.obsmtp.com [74.125.149.201]) by mx1.freebsd.org (Postfix) with SMTP id CB7F28FC2D for ; Wed, 20 Jan 2010 02:17:14 +0000 (UTC) Received: from source ([209.85.222.188]) by na3sys009aob109.postini.com ([74.125.148.12]) with SMTP ID DSNKS1ZnqTyU9BP19rGXTlLD3bCWc+k4hkT9@postini.com; Tue, 19 Jan 2010 18:17:14 PST Received: by mail-pz0-f188.google.com with SMTP id 26so3483318pzk.26 for ; Tue, 19 Jan 2010 18:17:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.6.22 with SMTP id 22mr521185wff.5.1263952078888; Tue, 19 Jan 2010 17:47:58 -0800 (PST) Date: Tue, 19 Jan 2010 17:47:58 -0800 Message-ID: <515996581001191747o5d6f8024u6b6457614cacfe04@mail.gmail.com> From: Joseph Turner To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Enhancement for ns_format_ttl available 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: Wed, 20 Jan 2010 02:17:15 -0000 Hopefully I'm posting to the right mailing list. I couldn't suss out how one joins up to be able to submit patches to FreeBSD so I'm posting here to point out my submitted patch to the Android code base. Their code is basically lifted straight from FreeBSD so the patch should apply cleanly. In a nutshell I was doing scut work to practice working with the Android submission system and ran across gcc barking about the code in ns_format_ttl. As I inspected the code I came to realize a good stiff brushing would yield beneficial results. https://review.source.android.com/#13229 In my spare time I'm working on enhancing the code that calls ns_format_ttl and it's partner ns_parse_ttl.