summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-07 06:25:17 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-07 06:25:17 +0000
commit335ab7c81f72119d8a6bb8445557f8c36596efa4 (patch)
tree3fb6e595418c90d0349cf698e8f7de37733eeed5 /perl-install/standalone
parentf1983cc76f3d7bca8d4f594627a6733cb32a9ec1 (diff)
downloaddrakx-335ab7c81f72119d8a6bb8445557f8c36596efa4.tar
drakx-335ab7c81f72119d8a6bb8445557f8c36596efa4.tar.gz
drakx-335ab7c81f72119d8a6bb8445557f8c36596efa4.tar.bz2
drakx-335ab7c81f72119d8a6bb8445557f8c36596efa4.tar.xz
drakx-335ab7c81f72119d8a6bb8445557f8c36596efa4.zip
use start/stop_interface
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakconnect4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index a7a9f0027..3b8393265 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -94,9 +94,9 @@ my $int_connect = Gtk2::Button->new(N("Wait please"));
$int_connect->set_sensitive(0);
$int_connect->signal_connect(clicked => sub {
if (!$isconnected) {
- network::tools::connect_backend($net);
+ network::tools::start_interface($net->{net_interface});
} else {
- network::tools::disconnect_backend($net);
+ network::tools::stop_interface($net->{net_interface});
}
});