Revision: 2855
http://ipcop.svn.sourceforge.net/ipcop/?rev=2855&view=rev
Author: owes
Date: 2009-05-14 11:55:36 +0000 (Thu, 14 May 2009)
Log Message:
-----------
Default interface for portforward should be Orange
Modified Paths:
--------------
ipcop/trunk/html/cgi-bin/fwrules.cgi
Modified: ipcop/trunk/html/cgi-bin/fwrules.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/fwrules.cgi 2009-05-14 11:03:24 UTC (rev
2854)
+++ ipcop/trunk/html/cgi-bin/fwrules.cgi 2009-05-14 11:55:36 UTC (rev
2855)
@@ -2574,6 +2574,8 @@
elsif ($cgiparams{'RULETYPE'} eq 'PORTFW') {
$destination_text = $Lang::tr{'pfw internal destination'};
$ruletype_text = $Lang::tr{'internal network'};
+ # Change default destination interface to orange if it exists
+ $cgiparams{'DEFAULT_DST_NET'} = 'Orange' if (&FW::haveOrangeNet() &&
($cgiparams{'DEFAULT_DST_NET'} eq 'Red'));
}
elsif ($cgiparams{'RULETYPE'} eq 'EXTERNAL') {
$ruletype_text = $Lang::tr{'external ipcop access'};
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