summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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