Changeset 339
- Timestamp:
- 05/24/06 10:45:42 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/consistency-check.pl
r213 r339 224 224 if $data[2] ne $def_custids{$data[1]}; 225 225 } 226 227 print "Done CustID correctness check.\n"; 226 print "Done predefined CustID correctness check.\n\n"; 227 228 print "Checking for customer blocks with 'bad' CustIDs:\n"; 229 # Make sure cn-type ("customer netblock") blocks have "real" CustIDs. 230 $sth = $dbh->prepare("select cidr,type,custid from allocations where type='cn' and (custid='6750400' or custid='STAFF') order by cidr"); 231 $sth->execute; 232 while (@data = $sth->fetchrow_array) { 233 print "cn block $data[0] has incorrect CustID $data[2]\n"; 234 } 235 print "Done checking customer blocks\n";
Note:
See TracChangeset
for help on using the changeset viewer.