Changeset 294


Ignore:
Timestamp:
Jul 18, 2018, 10:23:03 AM (6 years ago)
Author:
g7moreau
Message:
  • Mini chane in show command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ddt/ddt

    r239 r294  
    22612261
    22622262   LOOP_ON_DOMAIN:
    2263    for my $domainset_current (keys %{$computer_db}) {
     2263   for my $domainset_current (sort keys %{$computer_db}) {
    22642264      next if $domainset_current eq 'dset';
    22652265      next if $domainset_current eq 'pool';
     
    22682268      next if $domainset_current eq 'version';
    22692269
    2270       print "\n# *** List of computers in the domain set: $domainset_current ***\n";
     2270      print "\n# *** List of computers without IP in the domain set: $domainset_current ***\n";
    22712271      printf "%-30s  %-20s %17s %5s %7s %-10s %s\n",
    22722272         'Hostname',
     
    22832283         my ($mac_address, $attribute) = %{$computer};
    22842284
    2285          if ($attribute->{'ip'} =~ $DDT::RE::IPv4_ADDRESS) {
     2285         if ($attribute->{'ip'} =~ m/$DDT::RE::IPv4_ADDRESS/xms) {
    22862286            if ( not exists $ipdb{ $attribute->{'ip'} } ) {
    22872287               $ipdb{ $attribute->{'ip'} } = {
Note: See TracChangeset for help on using the changeset viewer.