summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-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);
}
}