diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-01-17 09:31:51 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-01-17 09:31:51 -0200 |
commit | 0ff214f27d38d8f867b4665d9e61d080da03d6f4 (patch) | |
tree | 83a5c452a5e00b26a4ceedb82abbcc7ced79ce48 /usr | |
parent | 24879bc655b95b5c16de53990e5da23ae7e65570 (diff) | |
download | pfsense-0ff214f27d38d8f867b4665d9e61d080da03d6f4.zip pfsense-0ff214f27d38d8f867b4665d9e61d080da03d6f4.tar.gz |
Preserve "Idle timeout" parameter on interfaces gui. It fixes a problem pointed out on ticket #2641
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index a297cb8..efed8d2 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -764,7 +764,7 @@ if ($_POST['apply']) { else $a_ppps[$pppid]['provider'] = true; $a_ppps[$pppid]['ondemand'] = $_POST['pppoe_dialondemand'] ? true : false; - if (!empty($_POST['idletimeout'])) + if (!empty($_POST['pppoe_idletimeout'])) $a_ppps[$pppid]['idletimeout'] = $_POST['pppoe_idletimeout']; else unset($a_ppps[$pppid]['idletimeout']); @@ -795,7 +795,7 @@ if ($_POST['apply']) { $a_ppps[$pppid]['subnet'] = $_POST['pptp_subnet']; $a_ppps[$pppid]['gateway'] = $_POST['pptp_remote']; $a_ppps[$pppid]['ondemand'] = $_POST['pptp_dialondemand'] ? true : false; - if (!empty($_POST['idletimeout'])) + if (!empty($_POST['pptp_idletimeout'])) $a_ppps[$pppid]['idletimeout'] = $_POST['pptp_idletimeout']; else unset($a_ppps[$pppid]['idletimeout']); |