summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-05-20 00:52:58 +0000
committerBill Marquette <billm@pfsense.org>2008-05-20 00:52:58 +0000
commit5be59a88855b698ffecc5d0b10a5dbf24d50cc5c (patch)
tree33117cefa101d54accf5aacfa7a7ef955d6be6ca /etc/inc/filter.inc
parent218939a9b7338f53a35b8e2c8f0b31eef7e70e75 (diff)
downloadpfsense-5be59a88855b698ffecc5d0b10a5dbf24d50cc5c.zip
pfsense-5be59a88855b698ffecc5d0b10a5dbf24d50cc5c.tar.gz
Ticket #1706 - reply-to shouldn't be tied to opt interfaces only
Diffstat (limited to 'etc/inc/filter.inc')
-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 c7661cd..79ab062 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1671,7 +1671,7 @@ function generate_user_filter_rule($rule, $ngcounter) {
}
/* do not process reply-to for gateway'd rules */
- if(($rule['gateway'] == "") and (stristr($rule['interface'],"opt") == true)) {
+ if ($rule['gateway'] == "") {
if (is_array($config['gateways']['gateway_item'])) {
foreach($config['gateways']['gateway_item'] as $gwy) {
if ($gwy['name'] == $config['interfaces'][$rule['interface']]['gateway']) {
@@ -3406,4 +3406,4 @@ function return_vpn_subnet($adr) {
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud