From owner-freebsd-net Mon Dec 17 5:49:15 2001 Delivered-To: freebsd-net@freebsd.org Received: from icon.bg (icon.bg [62.176.80.58]) by hub.freebsd.org (Postfix) with ESMTP id 9E49237B405 for ; Mon, 17 Dec 2001 05:49:11 -0800 (PST) Received: (qmail 95354 invoked by uid 1000); 17 Dec 2001 13:49:08 -0000 Date: Mon, 17 Dec 2001 15:49:08 +0200 From: Victor Ivanov To: freebsd-net@freebsd.org Subject: RTM_DELETE not reported for AF_INET? Message-ID: <20011217134908.GA95331@icon.icon.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23.2i 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 Hello, I found something interesting, when opening a routing socket using sock = socket(AF_ROUTE, SOCK_RAW, AF_INET); no RTM_DELETE messages are reported, unless errno != 0. When opened using the last argument == 0 (AF_UNSPEC), it reports all operations. Is this a bug or a feature, and what's the reason for it? -- Players win and winners play Have a lucky day To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message