Commit c7ca373a authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

remove idletimeout requirement for ondemand connections

(cherry picked from commit 1ccf6b45)
parent 3088925c
...@@ -97,7 +97,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -97,7 +97,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
break; break;
case "pppoe": case "pppoe":
if (!empty($pconfig['ondemand'])) { if (!empty($pconfig['ondemand'])) {
$reqdfields = explode(" ", "ports username password ondemand idletimeout"); $reqdfields = explode(" ", "ports username password ondemand");
$reqdfieldsn = array(gettext("Link Interface(s)"),gettext("Username"),gettext("Password"),gettext("Dial on demand"),gettext("Idle timeout value")); $reqdfieldsn = array(gettext("Link Interface(s)"),gettext("Username"),gettext("Password"),gettext("Dial on demand"),gettext("Idle timeout value"));
} else { } else {
$reqdfields = explode(" ", "ports username password"); $reqdfields = explode(" ", "ports username password");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment