route get fails

Joe Holden lists at rewt.org.uk
Tue Aug 27 13:17:19 UTC 2013


On 24/08/2013 13:30, Kimmo Paasiala wrote:
> On Sat, Aug 24, 2013 at 2:42 PM, Pawel Pekala <pawel at 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ł Pękala
>
> 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
You probably want netstat -rnfinet[6] here, judging from your surprise 
that 'route get' returns the above.



More information about the freebsd-current mailing list