From owner-freebsd-net@FreeBSD.ORG Sat Jun 2 19:11:43 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A5BA106566B; Sat, 2 Jun 2012 19:11:43 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id A9E4C8FC1B; Sat, 2 Jun 2012 19:11:42 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 7A07F25D3A9D; Sat, 2 Jun 2012 19:11:41 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 9B6C6BE8427; Sat, 2 Jun 2012 19:11:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id VdMZKNuh1BTq; Sat, 2 Jun 2012 19:11:39 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 23C40BE840E; Sat, 2 Jun 2012 19:11:38 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <4FCA36F6.8040308@freebsd.org> Date: Sat, 2 Jun 2012 19:11:37 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <57EDF758-FF3F-4BA5-B44E-398846B92925@lists.zabbadoz.net> References: <4FCA36F6.8040308@freebsd.org> To: darrenr@freebsd.org X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@freebsd.org Subject: Re: bin/102701 - ifconfig xx0 inet6 delete always fails 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: Sat, 02 Jun 2012 19:11:43 -0000 On 2. Jun 2012, at 15:53 , Darren Reed wrote: > Is there any reason that this patch hasn't been applied > to -current? I've just run into this and I can't believe > that it still exists, given that it falls into the "low > hanging fruit" category. I'll note that if it wasn't for > subversion, I'd be doing a commit rather than an email. ifconfig [-L] [-k] [-m] [-n] interface [create] address_family = [address [dest_address]] [parameters] ... The following parameters may be set with ifconfig: ... -alias Remove the network address specified. This would be used = if you incorrectly specified an alias, or it was no longer needed. = If you have incorrectly set an NS address having the side = effect of specifying the host portion, removing all NS addresses will = allow you to respecify the host portion. ... delete Another name for the -alias parameter. Parameters go last as clearly stated in the beginning of the man page = and that works well: root@lion3:/home/test # ifconfig lo0 inet6 2001:db8:ffff::ffff/128 alias root@lion3:/home/test # ifconfig lo0 inet6 2001:db8:ffff::ffff/128 = delete root@lion3:/home/test #=20 The fact that for inet you could give it in the beginning and other = minor things leniently allowed have caused a lot of trouble the last years. We try to stay more strict even if there's no real grammar, even if it wasn't for SVN. /bz --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do!