Re: route get fails

2013-08-27 Thread Kurt Jaeger
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?

A patch for route to display a more useful error message:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=181532

-- 
p...@opsec.eu+49 171 3101372 7 years to go !
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: route get fails

2013-08-27 Thread Joe Holden

On 24/08/2013 13:30, Kimmo Paasiala wrote:

On Sat, Aug 24, 2013 at 2:42 PM, Pawel Pekala  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.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: route get fails

2013-08-24 Thread Kimmo Paasiala
On Sat, Aug 24, 2013 at 2:42 PM, Pawel Pekala  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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"