From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 10 19:15:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A25316A61D for ; Fri, 10 Nov 2006 19:15:25 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65EAB43D55 for ; Fri, 10 Nov 2006 19:15:24 +0000 (GMT) (envelope-from josh.carroll@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so916165nfc for ; Fri, 10 Nov 2006 11:15:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hSp2Va3Q5mtK6GBJMsCWVynQXpe/Sl8iLzV0rZIrshkSbFoXJO7ggAHqFDz/Mlkae1QZi6MNkXey/JMjUHtzXdGDxdoz61yEGQdeO1KYYrTjzwPHJALJAbw0vbwktfM0I4DuJH96Yq2bQ3aKcdDbqwoikQfUCLHJdSaVSH592hI= Received: by 10.82.98.13 with SMTP id v13mr388112bub.1163186122813; Fri, 10 Nov 2006 11:15:22 -0800 (PST) Received: by 10.82.163.16 with HTTP; Fri, 10 Nov 2006 11:15:22 -0800 (PST) Message-ID: <8cb6106e0611101115k25df8cddu98c980481cd591f2@mail.gmail.com> Date: Fri, 10 Nov 2006 11:15:22 -0800 From: "Josh Carroll" To: freebsd-hackers@freebsd.org In-Reply-To: <8cb6106e0611071051y6cbbca1padc24ba315d4a2b3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061102094748.G75543@mignon.ki.iif.hu> <20061103024621.GB16445@kobe.laptop> <20061103024837.GB79357@lor.one-eyed-alien.net> <20061103025442.GB16543@kobe.laptop> <8cb6106e0611031550y1381b67agdc74144b89de763b@mail.gmail.com> <20061104062439.GD854@turion.vk2pj.dyndns.org> <8cb6106e0611061517k62c9193fnbbfc8e36db328282@mail.gmail.com> <20061107174151.GA51473@lor.one-eyed-alien.net> <8cb6106e0611071008y6811a79x9ba056c2be94d773@mail.gmail.com> <8cb6106e0611071051y6cbbca1padc24ba315d4a2b3@mail.gmail.com> Subject: Re: sockstat tcp/udp switches X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@psualum.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 19:15:25 -0000 > Below is the patch using strsep instead. I also updated the > gather_inet function to print a message that a protocol is not > supported if it exists in /etc/protocols, but does not have a case in > the gather_inet function. So, anyone interested in committing this? :) Do people think this would be useful going forward? Or does anyone else have suggestions for the code? Regards, Josh