From owner-freebsd-net Fri Jan 18 1:10:23 2002 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 6A05437B419 for ; Fri, 18 Jan 2002 01:10:18 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g0I99vC05784; Fri, 18 Jan 2002 11:09:57 +0200 (EET) (envelope-from ru) Date: Fri, 18 Jan 2002 11:09:56 +0200 From: Ruslan Ermilov To: Harti Brandt Cc: net@FreeBSD.ORG Subject: Re: interface creation notification Message-ID: <20020118110956.C1997@sunbay.com> References: <20020117185451.V97177-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020117185451.V97177-100000@beagle.fokus.gmd.de> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 17, 2002 at 06:58:26PM +0100, Harti Brandt wrote: > > Hi, > > how is a daemon supposed to get informed that a network interface has been > created? I had hoped, that an RTM_IFINFO message would be created on the > routing socket, but this is not the case. If an interface is destroyed, > the routing socket gets a message for whatever reason. Wouldn't it be > simple to just create an RTM_IFINFO message? > It does get created (you can check with the ``route -vn monitor'' command), but please see PR kern/33747 for one small pitfall. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message