On 5/30/11 11:20 AM, Steven Jan Springl wrote: > The attached minimal config. produces the following message: > > Can't use an undefined value as a HASH reference > at /usr/share/shorewall/Shorewall/Zones.pm line 1736, <$currentfile> line 11.
Steven, This seems to correct that problem. 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/Zones.pm
b/Shorewall/Perl/Shorewall/Zones.pm
index c47539c..326026b 100644
--- a/Shorewall/Perl/Shorewall/Zones.pm
+++ b/Shorewall/Perl/Shorewall/Zones.pm
@@ -1733,7 +1733,7 @@ sub process_host( ) {
fatal_error "Invalid ipset name ($hosts)" unless $hosts =~
/^\+[a-zA-Z][-\w]*$/;
}
- fatal_error "Unknown interface ($interface)" unless ($interfaceref
= $interfaces{$interface})->{root};
+ fatal_error "Unknown interface ($interface)" unless ($interfaceref
= $interfaces{$interface}) && $interfaceref->{root};
} else {
fatal_error "Invalid HOST(S) column contents: $hosts";
}
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
