Revision: 3078
          http://ipcop.svn.sourceforge.net/ipcop/?rev=3078&view=rev
Author:   riddles
Date:     2009-06-17 15:22:05 +0000 (Wed, 17 Jun 2009)

Log Message:
-----------
Minor fixes, re-disable warnings

Modified Paths:
--------------
    ipcop/branches/template-branch/html/cgi-bin/dhcp.cgi

Modified: ipcop/branches/template-branch/html/cgi-bin/dhcp.cgi
===================================================================
--- ipcop/branches/template-branch/html/cgi-bin/dhcp.cgi        2009-06-17 
15:18:40 UTC (rev 3077)
+++ ipcop/branches/template-branch/html/cgi-bin/dhcp.cgi        2009-06-17 
15:22:05 UTC (rev 3078)
@@ -28,8 +28,8 @@
 use Template;
 
 # enable only the following on debugging purpose
-use warnings; no warnings 'once';
-use CGI::Carp 'fatalsToBrowser';
+#use warnings; no warnings 'once';
+#use CGI::Carp 'fatalsToBrowser';
 
 require '/usr/lib/ipcop/general-functions.pl';
 require '/usr/lib/ipcop/lang.pl';
@@ -469,7 +469,7 @@
 ## Get Actual DHCP Leases
 ##
 my @leases = ();
-$enabled_count = 1;
+$enabled_count = 0;
 foreach $interface (@INTERFACEs) {
     for ($counter = 1; $counter <= $netsettings{"${interface}_COUNT"}; 
$counter++) {
         if ($dhcpsettings{"ENABLED_${interface}_${counter}"} eq 'on') {


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

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to