summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-05-15 22:19:17 +0000
committerBill Marquette <billm@pfsense.org>2005-05-15 22:19:17 +0000
commite2cb6b50972de11c26f8a6eb482e37893d65d526 (patch)
tree0d33615f0cc85f6d9c9cca94e1e712167be0d6c9 /usr
parentf87f85c3ef83f59825884309919f85438cac6aa2 (diff)
downloadpfsense-e2cb6b50972de11c26f8a6eb482e37893d65d526.zip
pfsense-e2cb6b50972de11c26f8a6eb482e37893d65d526.tar.gz
returngateway and friends aren't part of rules
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 9413cd3..d5e0100 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -152,9 +152,6 @@ if (isset($id) && $a_filter[$id]) {
$pconfig['dstmask'], $pconfig['dstnot'],
$pconfig['dstbeginport'], $pconfig['dstendport']);
- $pconfig['returngateway'] = $a_filter[$id]['returngateway'];
- $pconfig['returninterface'] = $a_filter[$id]['returninterface'];
-
$pconfig['disabled'] = isset($a_filter[$id]['disabled']);
$pconfig['log'] = isset($a_filter[$id]['log']);
$pconfig['descr'] = $a_filter[$id]['descr'];
@@ -280,9 +277,6 @@ if ($_POST) {
$input_errors[] = "The end destination port must be an alias or integer between 1 and 65535.";
}
- if (($_POST['returngateway'] && !is_ipaddroranyalias($_POST['returngateway'])))
- $input_errors[] = "A valid return gateway IP address or alias must be specified.";
-
if (!is_specialnet($_POST['srctype'])) {
if (($_POST['src'] && !is_ipaddroranyalias($_POST['src']))) {
$input_errors[] = "A valid source IP address or alias must be specified.";
@@ -357,8 +351,6 @@ if ($_POST) {
else
unset($filterent['log']);
$filterent['descr'] = $_POST['descr'];
- $filterent['returngateway'] = $_POST['returngateway'];
- $filterent['returninterface'] = $_POST['returninterface'];
if (isset($id) && $a_filter[$id])
$a_filter[$id] = $filterent;
OpenPOWER on IntegriCloud