Andrew Suffield wrote:
> On Tue, Oct 09, 2007 at 01:12:31AM +0100, Andrew Suffield wrote:
>> Note also that if you only need lookup functions,
> 
> A brief grep indicates that this is indeed the case, so I strongly
> suggest scrapping Shorewall::Ports entirely, and modifying
> Shorewall::Chains:
> 
>     my $value = $protocols{$proto};
> 
> to
> 
>     my $value = getprotobyname($proto);
> 

Or something vaguely similar...

buildports.pl and Shorewall::Ports.pm will be gone in 4.0.5.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to