summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
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 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'];
+ }
}
OpenPOWER on IntegriCloud