Changeset 442


Ignore:
Timestamp:
01/03/13 14:52:38 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Squash off-by-one-ish bug checking for multiple PTR template records
for the same IP block, in _validate_65282()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r441 r442  
    821821      $pcsth->execute($checkme);
    822822      my ($rc) = $pcsth->fetchrow_array;
    823       return ('FAIL', "Only one template pseudorecord may exist for a given IP block") if $rc;
     823      return ('FAIL', "Only one template pseudorecord may exist for a given IP block") if $rc > 1;
    824824    }
    825825
Note: See TracChangeset for help on using the changeset viewer.