Revision: 5560
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5560&view=rev
Author:   dotzball
Date:     2011-03-25 11:51:09 +0000 (Fri, 25 Mar 2011)

Log Message:
-----------
Show Orange in source interface list also on "IPCop access" rule creation. 
Otherwise it wouldn't be possible to create DROP/REJECT from orange rules.

Thanks to Mario to catching this :-)
 

Modified Paths:
--------------
    ipcop/trunk/html/cgi-bin/fwrules.cgi

Modified: ipcop/trunk/html/cgi-bin/fwrules.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/fwrules.cgi        2011-03-25 08:33:48 UTC (rev 
5559)
+++ ipcop/trunk/html/cgi-bin/fwrules.cgi        2011-03-25 11:51:09 UTC (rev 
5560)
@@ -1927,7 +1927,6 @@
             next if (($cgiparams{'RULETYPE'} eq 'EXTERNAL') && 
($FW::interfaces{$iface}{'COLOR'} ne 'RED_COLOR'));
             # Check for internal OK
             next if (($cgiparams{'RULETYPE'} ne 'EXTERNAL') && 
($FW::interfaces{$iface}{'COLOR'} eq 'RED_COLOR'));
-            next if (($cgiparams{'RULETYPE'} eq 'INPUT') && 
($FW::interfaces{$iface}{'COLOR'} eq 'ORANGE_COLOR'));
 
             print "<option value='$iface'";
             print " selected='selected'" if ($cgiparams{'DEFAULT_SRC_NET'} eq 
$iface);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to