summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_monitor
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-26 13:07:41 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-26 13:07:41 +0000
commit4021558356f176e039f28941ce21c68f6f7fe2a9 (patch)
tree329ca0e5c9cff6dd2b13e09ed9ab9ec227a6a282 /perl-install/standalone/net_monitor
parent5c31e9f52c3891f571ef91a88a8cb156d482c2c4 (diff)
downloaddrakx-4021558356f176e039f28941ce21c68f6f7fe2a9.tar
drakx-4021558356f176e039f28941ce21c68f6f7fe2a9.tar.gz
drakx-4021558356f176e039f28941ce21c68f6f7fe2a9.tar.bz2
drakx-4021558356f176e039f28941ce21c68f6f7fe2a9.tar.xz
drakx-4021558356f176e039f28941ce21c68f6f7fe2a9.zip
I am stupid, start when asked to start, stop when asked to stop
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-xperl-install/standalone/net_monitor4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index a3faf1da6..4202c7848 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -255,9 +255,9 @@ sub connection() {
gtkflush();
if ($wasconnected == 1) {
- $tool_pid = network::tools::start_interface($default_intf);
- } else {
$tool_pid = network::tools::stop_interface($default_intf);
+ } else {
+ $tool_pid = network::tools::start_interface($default_intf);
}
}