summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 478dca21d..220105a53 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -48,13 +48,13 @@ sub passwd_by_login {
}
sub connect_backend {
- my ($netc) = @_;
- run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifup", $netc->{NET_INTERFACE});
+ my ($net) = @_;
+ run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifup", $net->{net_interface});
}
sub disconnect_backend {
- my ($netc) = @_;
- run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifdown", $netc->{NET_INTERFACE});
+ my ($net) = @_;
+ run_program::raw({ detach => 1, root => $::prefix }, "/sbin/ifdown", $net->{net_interface});
}
sub bg_command_as_root {