bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] route


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] route
Date: Fri, 05 Sep 2008 08:29:50 -0400

   Here is my working copy of the route code:
   http://rishi.fedorapeople.org/gnu/inetutils-1.5.tar.gz

   A patch against CVS is not yet possible since the directory is not
   yet added. Look inside the route sub-directory for the code.

   Support for the FreeBSD kernel is in the works, and I would like
   your comments regarding how to select the appropriate backend for a
   particular operating system. I have put in a small check in
   configure.ac but it might not be the best way to do it.

As I told you one IRC, check for the features needed to implement
something.  One file per command.  Each specific interface seperated
by #ifdefs.

route/route_add.c  -- code specific to adding a route entry
route/route_show.c -- code specific for showing the route table
...
route/route.c -- all common code to route

Checking for the operating system is always the wrong way to do it,
any such patch will be automatically rejected.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]