diff options
author | damien <damien@mandriva.com> | 2001-08-27 22:13:14 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-08-27 22:13:14 +0000 |
commit | ef63e3c19166bb5e05d8dc47ff492910da0578b5 (patch) | |
tree | f2edccde0f4bdd749942506693fef93471291e7b /perl-install/network | |
parent | f04cdd71b5ca068984fa77c95aee2a74c196692d (diff) | |
download | drakx-ef63e3c19166bb5e05d8dc47ff492910da0578b5.tar drakx-ef63e3c19166bb5e05d8dc47ff492910da0578b5.tar.gz drakx-ef63e3c19166bb5e05d8dc47ff492910da0578b5.tar.bz2 drakx-ef63e3c19166bb5e05d8dc47ff492910da0578b5.tar.xz drakx-ef63e3c19166bb5e05d8dc47ff492910da0578b5.zip |
corrected typo
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/network.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index bb1991355..deffd0467 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -117,7 +117,7 @@ sub write_interface_conf { my @ip = split '\.', $intf->{IPADDR}; my @mask = split '\.', $intf->{NETMASK}; - my $hwaddr = -e $prefix/sbin/ip && `LC_ALL= LANG= $prefix/sbin/ip -o link show $intf->{DEVICE}`; + my $hwaddr = -e "$prefix/sbin/ip" && `LC_ALL= LANG= $prefix/sbin/ip -o link show $intf->{DEVICE}`; if ($hwaddr) { chomp $hwaddr; $hwaddr =~ s/.*link\/ether\s([0-9a-z:]+)\s.*/$1/; } add2hash($intf, { BROADCAST => join('.', mapn { int $_[0] | ~int $_[1] & 255 } \@ip, \@mask), |