Changeset 213 for branches/stable
- Timestamp:
- 04/05/05 13:39:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/consistency-check.pl
r212 r213 177 177 "from allocations where cidr <<= '$container' and type like '_r') ". 178 178 "union (select network(cidr) as net, broadcast(cidr) as bcast ". 179 "from freeblocks where cidr <<= '$container' and routed='w') order by net"); 179 "from freeblocks where cidr <<= '$container' and not (routed='y' or routed='n')) ". 180 "order by net"); 180 181 $sth->execute; 181 182 … … 217 218 print "Checking for correctness on 'defined' CustIDs:\n"; 218 219 # New check: Make sure "defined" CustIDs are correct. 219 $sth = $dbh->prepare("select cidr,type,custid from allocations where not type='cn'order by cidr");220 $sth = $dbh->prepare("select cidr,type,custid from allocations where not (type='cn' or type like '_r') order by cidr"); 220 221 $sth->execute; 221 222 while (@data = $sth->fetchrow_array) {
Note:
See TracChangeset
for help on using the changeset viewer.