Changeset 785 for trunk


Ignore:
Timestamp:
10/08/15 17:24:25 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix blip in rDNS retrieval handling where "no data" got misinterpreted
as "error, using cached/local record"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r784 r785  
    30943094        );
    30953095
     3096    $errstr = '';
    30963097    my $remote_rdns = _rpc('getRevPattern', %rpcargs);
    30973098    if ($remote_rdns) {
    30983099      $rdns = $remote_rdns;
    30993100      $cached = 0;
     3101    } else {
     3102      if (!$errstr) {
     3103        # no error, but no data
     3104        $cached = 0;
     3105      }
    31003106    }
    31013107  }
Note: See TracChangeset for help on using the changeset viewer.