Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 23:33:42 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        net@FreeBSD.ORG
Subject:   error return by RTM_GET
Message-ID:  <200101250433.XAA75280@khavrinen.lcs.mit.edu>
In-Reply-To: <200101250238.f0P2cTK33421@iguana.aciri.org>
References:  <200101250238.f0P2cTK33421@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 24 Jan 2001 18:38:24 -0800 (PST), Luigi Rizzo <rizzo@aciri.org> said:

> The error message is kind of misleading, i wonder if we can
> replace the return value in sys/net/rtsock.c with
> ENOMSG /* No message of desired type */ ?

I think at one point it was returning ENOENT.  There are no good error
messages for this purpose; programs should do a better job of
interpreting the error numbers that we have.

If you want to propose a fix to route(8) I won't object.

-GAWollman



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?200101250433.XAA75280>