Changeset 860 for trunk


Ignore:
Timestamp:
04/19/16 14:43:21 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Tweak RPC call barrier in allocateBlock() so we can push DNS updates
on the per-IP entries without having a block-wide pattern

File:
1 edited

Legend:

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

    r857 r860  
    17791779    my $pinfo = getBlockData($dbh, $fbparent);
    17801780    # Only try to update rDNS when the block is flagged as "rDNS available"
    1781     if (($pinfo->{revavail} || $pinfo->{revpartial}) && $args{rdns}) {
     1781    if (($pinfo->{revavail} || $pinfo->{revpartial}) && ($args{rdns} || $args{iprev})) {
    17821782      # the netblock/allocation...
    17831783      _rpc('addOrUpdateRevRec', cidr => "$args{cidr}", name => $args{rdns}, rpcuser => $args{user});
Note: See TracChangeset for help on using the changeset viewer.