Hi,

when you issue a RTM_GET request to the routing socket for a non-existing
route, the write() to the socket fails with errno=3, ESRCH, which
is printed by the "route" command as

        route: writing to routing socket: No such process

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 */ ?

Does any userland application depend on ESRCH ?

        cheers
        luigi
----------------------------------+-----------------------------------------
 Luigi RIZZO, [EMAIL PROTECTED]  . 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to