Changeset 671 for trunk/cgi-bin


Ignore:
Timestamp:
01/13/15 13:18:04 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix subtle bug in deleting IPv6 blocks; the text representation coming
out of the database is not the normal stringification from NetAddr::IP

File:
1 edited

Legend:

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

    r664 r671  
    15971597          my $testIP = new NetAddr::IP $data[0];
    15981598          push @rawfb, $testIP;
    1599           $rawid{$data[0]} = $data[1];
     1599          $rawid{"$testIP"} = $data[1];  # $data[0] vs "$testIP" *does* make a difference for v6
    16001600          @combinelist = $testIP->compact(@combinelist);
    16011601        }
Note: See TracChangeset for help on using the changeset viewer.