diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-09 10:11:31 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-09 10:11:31 +0000 |
commit | 5313aea509c7e799cc406e7e9566e8332b3cad00 (patch) | |
tree | 195c4cc29df291b7bbced56f6a4656d141c4cd51 /usr/local/www | |
parent | a2b724a66a48fe56706dfe93326046417338d19c (diff) | |
download | pfsense-5313aea509c7e799cc406e7e9566e8332b3cad00.zip pfsense-5313aea509c7e799cc406e7e9566e8332b3cad00.tar.gz |
Ticket #303. Correctly retain the interface in case or validation errors.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 54691ca..7dfb6aa 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -204,8 +204,11 @@ if ($_POST) { header("Location: system_gateways.php"); exit; - } else + } else { $pconfig = $_POST; + if (empty($_POST['friendlyiface'])) + $pconfig['friendlyiface'] = $_POST['interface']; + } } |