vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r1646811 - /vcl/trunk/web/.ht-inc/managementnode.php
Date Fri, 19 Dec 2014 18:00:50 GMT
Author: jfthomps
Date: Fri Dec 19 18:00:50 2014
New Revision: 1646811

URL: http://svn.apache.org/r1646811
Log:
VCL-174 - NAT - support for sites that have small IP address ranges

managementnode.php: modified validateResourceData: updated query checking for computers having
reservations using a nat host to also ignore laststateid's 1,5,11,12 in addition to ignoring
the same values for stateid

Modified:
    vcl/trunk/web/.ht-inc/managementnode.php

Modified: vcl/trunk/web/.ht-inc/managementnode.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/managementnode.php?rev=1646811&r1=1646810&r2=1646811&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/managementnode.php (original)
+++ vcl/trunk/web/.ht-inc/managementnode.php Fri Dec 19 18:00:50 2014
@@ -977,6 +977,7 @@ class ManagementNode extends Resource {
 				       .       "rq.start <= NOW() AND "
 				       .       "rq.end > NOW() AND "
 				       .       "rq.stateid NOT IN (1,5,11,12) AND "
+				       .       "rq.laststateid NOT IN (1,5,11,12) AND "
 				       .       "rq.userid != $vclreloadid";
 				$qh = doQuery($query);
 				if(mysql_num_rows($qh)) {



Mime
View raw message