Ignore:
Timestamp:
02/27/26 18:02:02 (4 hours ago)
Author:
Kris Deugau
Message:

/branches/stable

Rollup merge of changes to auxiliary scripts

Location:
branches/stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable

  • branches/stable/DNSDB.pm

    r1047 r1048  
    19551955
    19561956    if ($cn) {
    1957       # "natural n'th IP in the block" pattern
    1958       $$tmpl =~ s/$cn/$ipindex+1/e;
     1957      # "n'th natural IP in the block" pattern.
     1958      my $iptmp = new NetAddr::IP $ip;
     1959      my $natdex = scalar($iptmp - $$subnet);
     1960      $natdex++;
     1961      $$tmpl =~ s/$cn/$natdex/;
    19591962    }
    19601963
Note: See TracChangeset for help on using the changeset viewer.