Changeset 355


Ignore:
Timestamp:
Sep 14, 2018, 10:20:51 AM (6 years ago)
Author:
g7moreau
Message:
  • Show IP range in show sector
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ddt/ddt

    r354 r355  
    2121use strict;
    2222#use warnings;
    23 use version; our $VERSION = version->declare('0.11.6');
     23use version; our $VERSION = version->declare('0.11.7');
    2424
    2525use Getopt::Long qw(GetOptions);
     
    22292229     {align  => 'left',   align_title => 'left',   title => 'DNS-Extension:'},
    22302230     {is_sep => 1,        body        => '  '},
     2231     {align  => 'left',   align_title => 'left',   title => 'IP-Range'},
    22312232     {align  => 'left',   align_title => 'left',   title => 'Date'},
    22322233     {align  => 'left',   align_title => 'left',   title => 'Comment'},
     
    22492250      my $date = sprintf '%04i-%02i-%02i', $year, $mon, $mday;
    22502251
     2252      my $ip_range;
     2253      $ip_range = join ',', @{$computer_db->{'dset'}{$sector_current}{'ip-range'}} if exists $computer_db->{'dset'}{$sector_current}{'ip-range'};
     2254
    22512255      my $category;
    22522256      my $comment = $computer_db->{'dset'}{$sector_current}{'comment'};
     
    22562260      $tb_computer->add($sector_current,
    22572261         $computer_db->{'dset'}{$sector_current}{'dns_extension'},
     2262         $ip_range,
    22582263         $date,
    22592264         $comment,
Note: See TracChangeset for help on using the changeset viewer.