diff options
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 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']; + } } |