Revision: 5983
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5983&view=rev
Author:   owes
Date:     2011-10-25 12:24:03 +0000 (Tue, 25 Oct 2011)
Log Message:
-----------
Use the 'IPCop-color' for all interfaces, not only Green, in connection 
tracking.

Modified Paths:
--------------
    ipcop/trunk/html/cgi-bin/connections.cgi
    ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1

Modified: ipcop/trunk/html/cgi-bin/connections.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/connections.cgi    2011-10-25 12:21:46 UTC (rev 
5982)
+++ ipcop/trunk/html/cgi-bin/connections.cgi    2011-10-25 12:24:03 UTC (rev 
5983)
@@ -13,8 +13,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with IPCop; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# along with IPCop.  If not, see <http://www.gnu.org/licenses/>.
 #
 # (c) 2001 Jack Beglinger <[email protected]>
 #
@@ -23,6 +22,7 @@
 # (c) 2006 Franck - add sorting+filtering capability
 #
 # (c) 2008 Olaf for the IPCop team - use conntrack with XML output from 
conntrack-tools
+# (c) 2008 - 2011, the IPCop team
 #
 # $Id$
 #
@@ -183,13 +183,11 @@
         my $ip = new 
NetAddr::IP($netsettings{"${interface}_${icount}_ADDRESS"}, 
$netsettings{"${interface}_${icount}_NETMASK"});
         my $lc_colour = "ipcop_iface_bg_".lc(${interface});
 
-        # Add Firewall Interface (only for GREEN ?)
-        if ($interface eq 'GREEN') {
-            push(@network, $ip->addr());
-            push(@colour,  'ipcop_iface_bg_fw');
-            push(@ports, '0');
-            push(@protocols, '');
-        }
+        # Add Firewall Interface
+        push(@network, $ip->addr());
+        push(@colour,  'ipcop_iface_bg_fw');
+        push(@ports, '0');
+        push(@protocols, '');
 
         # Add Broadcast address
         push(@network, $ip->broadcast()->addr());

Modified: ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1
===================================================================
--- ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1      2011-10-25 12:21:46 UTC 
(rev 5982)
+++ ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1      2011-10-25 12:24:03 UTC 
(rev 5983)
@@ -3,6 +3,7 @@
 /etc/rc.d/rc.eciadsl
 /etc/rc.d/rc.pulsardsl
 /etc/rc.d/rc.red
+/home/httpd/cgi-bin/connections.cgi
 /home/httpd/cgi-bin/ddns.cgi
 /home/httpd/cgi-bin/email.cgi
 /home/httpd/cgi-bin/index.cgi

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


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to