- Timestamp:
- Mar 29, 2005, 1:12:42 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/wleiden.pl
r4174 r4203 201 201 foreach my $interface (sort keys %config) { 202 202 (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"; 209 211 }; 210 212 return($output);
Note:
See TracChangeset
for help on using the changeset viewer.