Changeset 312


Ignore:
Timestamp:
04/23/12 22:27:40 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix lurking bug in _ZONE that retained an extra 0 on CIDR to
full ip6.arpa zone name conversions with whole-nibble blocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r311 r312  
    827827      }
    828828      # Split and reverse the order of the nibbles in the network/broadcast IPs
     829      $prefix =~ s/0$// if $zone->masklen % 4 == 0;     # trim another 0 for nibble-aligned blocks first
    829830      my @nbits = reverse split //, $prefix;
    830831      my @bbits = reverse split //, $bc;
Note: See TracChangeset for help on using the changeset viewer.