diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index ed626f019f..597231d810 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']; + } }