summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-09-15 03:31:19 +0000
committerBill Marquette <billm@pfsense.org>2005-09-15 03:31:19 +0000
commit1d67d91614c6502e259c915858833c210996835b (patch)
tree854090e28853084692188c6e894802bc6bc6d26b /etc
parent4fe00253c2fe8d0a3171bf47721e6a9682bc8e9a (diff)
downloadpfsense-1d67d91614c6502e259c915858833c210996835b.zip
pfsense-1d67d91614c6502e259c915858833c210996835b.tar.gz
(#493) move 'not' into the else conditional, was making optx interfaces
get nailed twice
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 5104554..9a0f372 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1552,8 +1552,8 @@ function generate_user_filter_rule($rule, $ngcounter) {
$dst = "$ppoesa/$pppoesn";
break;
}
+ if (isset($rule['destination']['not'])) $dst = " !" . $dst;
}
- if (isset($rule['destination']['not'])) $dst = " !" . $dst;
} else if ($rule['destination']['address']) {
$not = "";
if (isset($rule['destination']['not'])) $not = "! ";
@@ -2451,4 +2451,4 @@ function return_vpn_subnet($adr) {
return " # error - {$adr['network']} ";
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud