Revision: 2818
http://ipcop.svn.sourceforge.net/ipcop/?rev=2818&view=rev
Author: owes
Date: 2009-05-09 16:57:32 +0000 (Sat, 09 May 2009)
Log Message:
-----------
Avoid some messages when OpenVPN is not fully configured.
Modified Paths:
--------------
ipcop/trunk/src/scripts/puzzleFwRules.pl
Modified: ipcop/trunk/src/scripts/puzzleFwRules.pl
===================================================================
--- ipcop/trunk/src/scripts/puzzleFwRules.pl 2009-05-09 08:31:41 UTC (rev
2817)
+++ ipcop/trunk/src/scripts/puzzleFwRules.pl 2009-05-09 16:57:32 UTC (rev
2818)
@@ -929,6 +929,11 @@
my %ovpnSettings = ();
if (-e "/var/ipcop/ovpn/settings") {
&General::readhash("/var/ipcop/ovpn/settings", \%ovpnSettings);
+
+ # Avoid some "Use of initialized value in string eq at line xxx"
messages
+ $ovpnSettings{'ENABLED_RED_1'} = 'off' if
(!defined($ovpnSettings{'ENABLED_RED_1'}));
+ $ovpnSettings{'ENABLED_BLUE_1'} = 'off' if
(!defined($ovpnSettings{'ENABLED_BLUE_1'}));
+ $ovpnSettings{'ENABLED_ORANGE_1'} = 'off' if
(!defined($ovpnSettings{'ENABLED_ORANGE_1'}));
}
# Deny only those traffic which is open in vanila IPCop.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn