Commit 1ccf6b45 authored by Ad Schellevis's avatar Ad Schellevis

remove idletimeout requirement for ondemand connections

parent b56bcf83
...@@ -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