Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 15:49:08 +0200
From:      Victor Ivanov <v0rbiz@icon.bg>
To:        freebsd-net@freebsd.org
Subject:   RTM_DELETE not reported for AF_INET?
Message-ID:  <20011217134908.GA95331@icon.icon.bg>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011217134908.GA95331>