Changeset 677 for trunk/cgi-bin/IPDB.pm


Ignore:
Timestamp:
01/16/15 17:34:45 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Collect and pass through per-IP rDNS. Still need to cache these locally.
See #1.

File:
1 edited

Legend:

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

    r676 r677  
    11491149      if $args{rdns};
    11501150
     1151    # and the per-IP set, if there is one.
     1152    _rpc('updateRevSet', %{$args{iprev}}, rpcuser => $args{user});
     1153
    11511154    return ('OK', 'OK');
    11521155
     
    12961299  $binfo->{block} =~ s|/32$||;
    12971300  _rpc('addOrUpdateRevRec', cidr => $binfo->{block}, name => $args{rdns}, rpcuser => $args{user});
     1301
     1302  # and the per-IP set, if there is one.
     1303  _rpc('updateRevSet', %{$args{iprev}}, rpcuser => $args{user});
     1304
    12981305  return ('OK','OK');
    12991306} # end updateBlock()
Note: See TracChangeset for help on using the changeset viewer.