From owner-freebsd-bugs Sat May 25 8:40:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5888037B405 for ; Sat, 25 May 2002 08:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4PFe3G00292; Sat, 25 May 2002 08:40:03 -0700 (PDT) (envelope-from gnats) Date: Sat, 25 May 2002 08:40:03 -0700 (PDT) Message-Id: <200205251540.g4PFe3G00292@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Eugene Grosbein Subject: Re: bin/38533: 'ifconfig ifname down delete' does not deletes aliases Reply-To: Eugene Grosbein Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/38533; it has been noted by GNATS. From: Eugene Grosbein To: Ruslan Ermilov Cc: Eugene Grosbein , bug-followup@FreeBSD.org Subject: Re: bin/38533: 'ifconfig ifname down delete' does not deletes aliases Date: Sat, 25 May 2002 23:28:09 +0800 Ruslan Ermilov wrote: > > On Sat, May 25, 2002 at 03:10:18PM +0800, Eugene Grosbein wrote: > > > > I have an interface with primary and aliased addresses > > and try to clear them all and take interface down. > > So I type > > > > ifconfig fxp0 down delete > > > > And I see that primary address (with correct netmask) is removed > > but alias (with netmask 255.255.255.255) is still here. > > > It would be very sad if it did. > > `delete' is just another alias for `-alias'. It deletes the address > specified, or the first address (in this family) if no address was > specified, of the interface. > > This PR can be closed. Then it should preserve original netmask, I guess. Well, if 'ifconfig down delete' doesn't deletes all interfaces' IP, if there an easy way to perform this task? If not, I think this command is good candidate. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message