Changeset 205


Ignore:
Timestamp:
Jan 29, 2017, 6:18:12 PM (8 years ago)
Author:
g7moreau
Message:
  • A stupid bug in split !
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r204 r205  
    14441444         my $date = sprintf '%04i-%02i-%02i %02i:%02i', $year, $mon, $mday, $hour, $min;
    14451445
    1446          my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ \.\* /xms, $ipv4_address; # \* for fake-ip
     1446         my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ [\.\*] /xms, $ipv4_address; # \* for fake-ip
    14471447
    14481448         my $mac_sort = sprintf '%04i-%s', 9999, $mac_address;
     
    14941494         my $date = sprintf '%04i-%02i-%02i %02i:%02i', $year,$mon,$mday,$hour,$min;
    14951495
    1496          my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ \.\* /xms, $ipv4_address; # \* for fake-ip
     1496         my $ip_sort = sprintf '%03i%03i%03i%03i', split m/ [\.\*] /xms, $ipv4_address; # \* for fake-ip
    14971497
    14981498         my $mac_sort = sprintf '%04i-%s', 9999, $mac_address;
Note: See TracChangeset for help on using the changeset viewer.