summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-21 22:54:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-21 22:54:05 +0000
commit7f0b40d3e789bc28ee34f21baa10dbdce6ebc5e9 (patch)
treef68bdd5d198f9e885965ab56b7a19c3cb2ef0e46 /etc
parent8857d411bc0733d57ef8cefdf4a6509306138e3a (diff)
downloadpfsense-7f0b40d3e789bc28ee34f21baa10dbdce6ebc5e9.zip
pfsense-7f0b40d3e789bc28ee34f21baa10dbdce6ebc5e9.tar.gz
Fix a major time based rule bug. We need to match packets *INCOMING* to the interface similar to how pf works.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 1e3f17a..3600137 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -458,7 +458,7 @@ function tdr_create_ipfw_rule($rule, $type) {
/* piece together the actual user rule */
$line .= $type . " " . $aline['prot'] . $aline['src'] .
- $aline['srcport'] . $aline['dst'] . $aline['dstport'] . "via " . $aline['interface'];
+ $aline['srcport'] . $aline['dst'] . $aline['dstport'] . " in via " . $aline['interface'];
return $line;
OpenPOWER on IntegriCloud