Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 20:38:48 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        wollman@khavrinen.lcs.mit.edu (Garrett Wollman)
Cc:        rizzo@aciri.org, net@FreeBSD.ORG
Subject:   Re: error return by RTM_GET
Message-ID:  <200101250438.f0P4cmX35105@iguana.aciri.org>
In-Reply-To: <200101250433.XAA75280@khavrinen.lcs.mit.edu> from Garrett Wollman at "Jan 24, 2001 11:33:42 pm"

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

yeah, this is probably the best way to avoid problems with
userland apps.

	cheers
	luigi
----------------------------------+-----------------------------------------
 Luigi RIZZO, luigi@iet.unipi.it  . ACIRI/ICSI (on leave from Univ. di Pisa)
 http://www.iet.unipi.it/~luigi/  . 1947 Center St, Berkeley CA 94704
 Phone: (510) 666 2927
----------------------------------+-----------------------------------------


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?200101250438.f0P4cmX35105>