Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 19:01:53 -0800
From:      Wilbert de Graaf <wilbertdg@hetnet.nl>
Cc:        net@freebsd.org
Subject:   Re: error return by RTM_GET
Message-ID:  <3A6F9721.180528FE@hetnet.nl>
References:  <200101250238.f0P2cTK33421@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote:

> Does any userland application depend on ESRCH ?

pimd does, but only to decide to generate some log:

routesock.c: 207

    if ((rlen = write(routing_socket, (char *)&m_rtmsg, l)) < 0) {
    IF_DEBUG(DEBUG_RPF | DEBUG_KERN) {
        if (errno == ESRCH)
        log(LOG_DEBUG, 0,
            "Writing to routing socket: no such route\n");
        else
        log(LOG_DEBUG, 0, "Error writing to routing socket");
    }

Wilbert


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?3A6F9721.180528FE>