Steven Jan Springl wrote: > On Friday 07 December 2007 00:26, Tom Eastep wrote: >> Shorewall 4.1.2 is now available for testing. >> > Tom > > I am getting the following error from the Shorewall shell compiler: > > Checking... > Initializing... > Determining Zones... > IPv4 Zones: lan > Firewall Zone: fw > Validating interfaces file... > Validating hosts file... > Pre-processing Actions... > Pre-processing /usr/share/shorewall/action.Drop... > /usr/share/shorewall-shell/lib.actions: line 646: [: eq: binary operator > expected > ERROR: Invalid TARGET in rule "COMMENT Auth "
Grrrr -- using Perl syntax in a shell program works poorly. Patch attached, -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
Index: lib.actions
===================================================================
--- lib.actions (revision 7861)
+++ lib.actions (working copy)
@@ -643,7 +643,7 @@
while read mtarget mclients mservers mprotocol mports mcports mratelimit muserspec; do
- [ $mtarget eq COMMENT ] && continue
+ [ $mtarget = COMMENT ] && continue
temp="${mtarget%%:*}"
case "$temp" in
@@ -796,7 +796,7 @@
while read mtarget mclients mservers mprotocol mports mcports mratelimit muserspec; do
- [ $mtarget eq COMMENT ] && continue
+ [ $mtarget = COMMENT ] && continue
mtarget=$(merge_levels $xaction2 $mtarget)
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
