DragonFly BSD
DragonFly submit List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

route patch for "show" command


From: Andre Nathan <andre@xxxxxxxxxxxxxxx>
Date: Tue, 23 Mar 2004 14:18:19 -0300

Hi

This is probably just me, but being used to OpenBSD, I really miss being
able to type "route -n show" (yeah, I know about "netstat -rn", but it's
not the same thing :)

The patch on [1] adds the "show" command. The code is taken from
OpenBSD, apart from some style(9) cleanups, and I addded extern.h like
NetBSD does.

There are some style(9) cleanups on route.c too: removal of K&R, removal
of casts to void when ignoring the return value, removal of "register"
and some spacing issues.

Best regards,
Andre

[1]http://andre.people.digirati.com.br/dragonfly/dragonfly-route.patch




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]