diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl
index a3949cba3..e30981778 100644
--- a/config/cfgroot/header.pl
+++ b/config/cfgroot/header.pl
@@ -331,16 +331,18 @@ sub connectionstatus
my ($timestr, $connstate);
- my $connstate = "$Lang::tr{'idle'} $profileused";
+ my $connstate = "$Lang::tr{'idle'} $profileused";
if (-e "${General::swroot}/red/active") {
$timestr = &General::age("${General::swroot}/red/active");
- $connstate = "$Lang::tr{'connected'} - ($timestr) $profileused";
+ $connstate = "$Lang::tr{'connected'} - ($timestr) $profileused";
} else {
- if (($pppsettings{'RECONNECTION'} eq "dialondemand") && ( -e "${General::swroot}/red/dial-on-demand")) {
- $connstate = "$Lang::tr{'dod waiting'} $profileused";
+ if ((open(KEEPCONNECTED, "$Lang::tr{'connection closed'} $profileused";
+ } elsif (($pppsettings{'RECONNECTION'} eq "dialondemand") && ( -e "${General::swroot}/red/dial-on-demand")) {
+ $connstate = "$Lang::tr{'dod waiting'} $profileused";
} else {
- $connstate = "$Lang::tr{'connecting'} $profileused" if (system("ps -ef | grep -q '[p]ppd'"));
+ $connstate = "$Lang::tr{'connecting'} $profileused" if (system("ps -ef | grep -q '[p]ppd'"));
}
}
diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl
index b390605d7..4d2fc630f 100644
--- a/langs/de/cgi-bin/de.pl
+++ b/langs/de/cgi-bin/de.pl
@@ -473,6 +473,7 @@
'connected' => 'Verbunden',
'connecting' => 'Baue Verbindung auf...',
'connection' => 'Verbindung',
+'connection closed' => 'Nicht Verbunden...',
'connection debugging' => 'Verbindungs-Debugging',
'connection status and controlc' => 'Verbindungsstatus und -kontrolle:',
'connection tracking' => 'IPTables-Verbindungsverfolgung',
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
index 5c1a25f94..8a4dbcd64 100644
--- a/langs/en/cgi-bin/en.pl
+++ b/langs/en/cgi-bin/en.pl
@@ -493,6 +493,7 @@
'connected' => 'Connected',
'connecting' => 'Connecting...',
'connection' => 'Connection',
+'connection closed' => 'Not connected...',
'connection debugging' => 'Connection debugging',
'connection status and controlc' => 'Connection status and control:',
'connection tracking' => 'IPTables Connection Tracking',