Hi,
/sbin/route is a wrapper (shell script) around /lib/freebsd/route but
it seems to be buggy. For me it returns:
--8<----
#route -n get default
shift: 25: can't shift that many
---->8--
Calling /lib/freebsd/route directly seems to show the expected result:
--8<----
#/lib/freebsd/route -n get default
route to: default
destination: default
mask: default
gateway: 192.168.1.254
interface: bge0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
0 0 0 0 0 0 1500 0
---->8--
M.
--
Emmanuel Bouthenot
mail : [email protected]
gpg : 0x414EC36E
xmpp : [email protected]
irc : kolter@(freenode|oftc)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]