summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-17 09:56:46 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-17 09:56:46 +0000
commite93949e50d180ce23eb49759cb24c2725457b6b3 (patch)
tree55ee5285648537a93a6b714c74a7c29d174b290c /usr
parent213e9de2f440cf46dec7240f1c7504fcdf267eb9 (diff)
downloadpfsense-e93949e50d180ce23eb49759cb24c2725457b6b3.zip
pfsense-e93949e50d180ce23eb49759cb24c2725457b6b3.tar.gz
Fix unable to save manual gateway entry.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_gateways_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index 294483d..0bd623a 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -116,7 +116,7 @@ if ($_POST) {
$a_gateways = &$config['gateways']['gateway_item'];
- if ((is_numeric($pconfig['attribute'])) && ($pconfig['attribute'] != "system")) {
+ if ($pconfig['attribute'] != "system") {
$gateway = array();
$gateway['interface'] = $_POST['interface'];
$gateway['name'] = $_POST['name'];
OpenPOWER on IntegriCloud