route patch for "show" command

Andre Nathan andre at digirati.com.br
Tue Mar 23 09:14:05 PST 2004


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






More information about the Submit mailing list