From owner-freebsd-stable Wed Mar 12 19:58:47 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0CA137B401 for ; Wed, 12 Mar 2003 19:58:45 -0800 (PST) Received: from fubar.adept.org (fubar.adept.org [63.147.172.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51DCE43FB1 for ; Wed, 12 Mar 2003 19:58:45 -0800 (PST) (envelope-from mike@adept.org) Received: by fubar.adept.org (Postfix, from userid 1001) id 0054915227; Wed, 12 Mar 2003 19:58:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fubar.adept.org (Postfix) with ESMTP id F246E15226 for ; Wed, 12 Mar 2003 19:58:38 -0800 (PST) Date: Wed, 12 Mar 2003 19:58:38 -0800 (PST) From: Mike Hoskins To: stable@freebsd.org Subject: ifconfig destroy Message-ID: <20030312195532.W2586-100000@fubar.adept.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Should `ifconfig destroy` work in -stable? From ifconfig(8), ifconfig interface destroy destroy Destroy the specified network pseudo-device. # ifconfig -a tun0: flags=8051 mtu 1500 inet 192.168.10.5 --> 192.168.10.6 netmask 0xffffffff Opened by PID 452 # ifconfig tun0 down # ifconfig tun0 destroy ifconfig: SIOCIFDESTROY: Invalid argument What's the right way to remove pseudo-device/interfaces? I'm playing with a SSH/PPP tunnel, which can cause a lot of these to be created during my test phase. -mrh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message