summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-16 17:23:56 +0000
committerErmal <eri@pfsense.org>2010-09-16 17:23:56 +0000
commitea939fc3a6c35feee0f56078c95e95d612640783 (patch)
treefdbc7a3bda72899d5e58fcfac1a002e0483f6ae3 /usr/local/www/system_gateways_edit.php
parent0c4846ff69d47651346ce582f99efa1fcf5bb2f0 (diff)
downloadpfsense-ea939fc3a6c35feee0f56078c95e95d612640783.zip
pfsense-ea939fc3a6c35feee0f56078c95e95d612640783.tar.gz
Oops bring back this code too.
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php5
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 ed626f0..597231d 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -262,8 +262,11 @@ if ($_POST) {
header("Location: system_gateways.php");
exit;
- } else
+ } else {
$pconfig = $_POST;
+ if (empty($_POST['friendlyiface']))
+ $pconfig['friendlyiface'] = $_POST['interface'];
+ }
}
OpenPOWER on IntegriCloud