Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[Design] _updown code cleanup

From: John S. Denker <jsd(at)monmouth.com>
Date: Sat Feb 15 2003 - 08:59:48 EST

Hi --

I was reading the _updown code and I noticed quite a bit of parallelism between the prepare-client code and the doroute code.

Observation: There are 8 lines of code in prepare-client that don't appear in doroute. One could incorporate those lines in doroute, triggered by an optional second argument to doroute, such as

        doroute del OK-if-none
and then use that as the entire implementation of prepare-client.

IMHO this would make the code more robust, more maintainable, and more understandable to folks who need to customize it.



Design mailing list
Design@lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/design Received on Sat Feb 15 18:47:28 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:32 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library