diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-12 12:31:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-12 12:31:23 +0000 |
commit | 932b873787f546efa2629bc903988b40b04fb919 (patch) | |
tree | 1d3c42f85cdaeeef96e4c507fa09a8f1da804a55 /perl-install/install_any.pm | |
parent | 7639d230b844648b4d4b6d2ed00830c42a46b1e4 (diff) | |
download | drakx-932b873787f546efa2629bc903988b40b04fb919.tar drakx-932b873787f546efa2629bc903988b40b04fb919.tar.gz drakx-932b873787f546efa2629bc903988b40b04fb919.tar.bz2 drakx-932b873787f546efa2629bc903988b40b04fb919.tar.xz drakx-932b873787f546efa2629bc903988b40b04fb919.zip |
fix bogus use of old netwok module instead of network::network
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 093b90be2..1773a9507 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -873,9 +873,9 @@ sub generate_automatic_stage1_params { if ($intf->{BOOTPROTO} eq 'dhcp') { push @ks, "network:dhcp"; } else { - require network; + require network::network; push @ks, "network:static", "ip:$intf->{IPADDR}", "netmask:$intf->{NETMASK}", "gateway:$o->{netc}{GATEWAY}"; - my @dnss = network::dnsServers($o->{netc}); + my @dnss = network::network::dnsServers($o->{netc}); push @ks, "dns:$dnss[0]" if @dnss; } } |