From owner-freebsd-hackers Mon Sep 16 1:57:31 2002 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 0646A37B400 for ; Mon, 16 Sep 2002 01:57:31 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DB1443E72 for ; Mon, 16 Sep 2002 01:57:30 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 19215 invoked by uid 1031); 16 Sep 2002 08:54:46 -0000 Date: Mon, 16 Sep 2002 09:54:45 +0100 From: Bruce M Simpson To: Leslie Jackson Cc: freebsd-hackers@freebsd.org Subject: Re: ioctl & SIOCDIFADDR Message-ID: <20020916085445.GA11460@spc.org> Mail-Followup-To: Bruce M Simpson , Leslie Jackson , freebsd-hackers@freebsd.org References: <20020916114315.7feb4bac.int@softhome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020916114315.7feb4bac.int@softhome.net> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 16, 2002 at 11:43:15AM +0800, Leslie Jackson wrote: > I can specify an specific IP, say, "192.168.0.2", for SIOCDIFADDR to delete. > But how can i specify this "default address"(said in the netintor(4)) to > "delete the first address of the interface"? Try 0.0.0.0. (aka INADDR_ANY). BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message