Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2013 15:30:32 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Pawel Pekala <pawel@freebsd.org>
Cc:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: route get fails
Message-ID:  <CA%2B7WWSewCxVAXO65gakUcMuYjf-99m6Y93C2mMk7B6WfPh8JgA@mail.gmail.com>
In-Reply-To: <20130824134223.6bf7634c@FreeBSD.org>
References:  <20130824134223.6bf7634c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 24, 2013 at 2:42 PM, Pawel Pekala <pawel@freebsd.org> wrote:
> Hi,
>
> For some time now I get this:
>
> [corn:~]> route get
> route: writing to routing socket: Invalid argument
>
> Is this just my build or anyone can confirm this?
>
> --
> pozdrawiam / with regards
> Pawe=C5=82 P=C4=99kala

Nothing wrong there, you're not providing a required argument that is
the destination IP address. In my opinion route(8) should return a
proper error message in this case. OS X route(8) behaves exactly the
same BTW.

-Kimmo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSewCxVAXO65gakUcMuYjf-99m6Y93C2mMk7B6WfPh8JgA>