Changeset 4203 in genesis


Ignore:
Timestamp:
Mar 29, 2005, 1:12:42 PM (20 years ago)
Author:
rick
Message:

Make it much more clear

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/wleiden.pl

    r4174 r4203  
    201201  foreach my $interface (sort keys %config) {
    202202    (my $if, my $number) = split(/:/, $interface);
    203       if( defined $number ) {
    204         $output .= "ifconfig_$if\_alias$number=\"inet $IP{$interface}\"\n";
    205       }
    206       else {
    207         $output .= "ifconfig_$if=\"inet $IP{$interface}\"\n";
    208       };
     203    if( defined $number ) {
     204      $output .= "ifconfig_$if\_alias$number=\"inet $IP{$interface}\"";
     205    }
     206    else {
     207      $output .= "ifconfig_$if=\"inet $IP{$interface}\"\t";
     208    };
     209    ## add some extra link information
     210    $output .= "\t# $DESC{$interface}\n";
    209211  };
    210212  return($output);
Note: See TracChangeset for help on using the changeset viewer.