On 1/18/11 1:36 PM, Steven Jan Springl wrote: > Tom > > In the attached config. INCLUDE is specified in the init file. > > This produces the following message: > > /var/lib/shorewall/.start: line 1372: .: /etc/shorewall/: is a directory > > Line 1372 is: > > . $(find_file $(expand $@)) > > Is the message expected?
Steven, This patch gives a more satisfactory diagnostic. Thanks, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Config.pm
b/Shorewall/Perl/Shorewall/Config.pm
index 4eaa751..8109401 100644
--- a/Shorewall/Perl/Shorewall/Config.pm
+++ b/Shorewall/Perl/Shorewall/Config.pm
@@ -1424,7 +1424,7 @@ sub copy1( $ ) {
}
if ( $do_indent ) {
- if ( /^\s*INCLUDE\s/ ) {
+ if ( /^\s*INCLUDE\b/ ) {
my @line = split / /;
fatal_error "Invalid INCLUDE command" if @line != 2;
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
