From owner-freebsd-net@FreeBSD.ORG Tue Jan 8 22:38:30 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CFEE16A46B for ; Tue, 8 Jan 2008 22:38:30 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4F58913C4D1 for ; Tue, 8 Jan 2008 22:38:30 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 6F86141C75C for ; Tue, 8 Jan 2008 23:20:08 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id Jn9m44bMait9 for ; Tue, 8 Jan 2008 23:20:08 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 1B58B41C75B; Tue, 8 Jan 2008 23:20:08 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 3E83D444885 for ; Tue, 8 Jan 2008 22:18:10 +0000 (UTC) Date: Tue, 8 Jan 2008 22:18:10 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: net@freebsd.org In-Reply-To: <864pdongvk.wl%rpaulo@fnop.net> Message-ID: <20080108220558.L36482@maildrop.int.zabbadoz.net> References: <20080104215626.GA88922@goku.pumpky.net> <477F674F.7020706@FreeBSD.org> <864pdongvk.wl%rpaulo@fnop.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: Text for IPv6 Scope 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, 08 Jan 2008 22:38:30 -0000 On Tue, 8 Jan 2008, Rui Paulo wrote: > At Sat, 05 Jan 2008 11:17:35 +0000, > Bruce M. Simpson wrote: >> >> Crist J. Clark wrote: >>> Anyone up for adding text to the scopeid field in the ifconfig(8) >>> output for IPv6 addresses? Other OSes do. To avoid too much >>> disruption to the current format, the text is appended after the >>> currently printed hexadecimal field. >>> >>> Example: >>> >>> fxp0: flags=8843 mtu 1500 >>> options=8 >>> inet6 fe80::290:27ff:fe13:2540%fxp0 prefixlen 64 scopeid 0x5(site-local) >>> >>> While we're at it, update the in6.h file to include all scopes >>> in RFC4291. >>> >>> Look OK? Anyone up for applying these? >> >> This kind of output might be cooler? >> >> inet6 fe80::290:27ff:fe13:2540%fxp0 prefixlen 64 scope site >> > > Yes, I would want something like this too, we don't really need the numbers. I'd go with something number+space+text as that going to least likely break existing scripts (unless they match on line end;). Another thing I am worried about is the output getting more likely >80 chars which is a bit of a pain. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time.