summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-01 04:46:36 +0000
committerBill Marquette <billm@pfsense.org>2005-03-01 04:46:36 +0000
commit5c436a447651893317003d5e7bd9ee06a7b54e7c (patch)
treefdfd923cd9a39499e80f5c13f8d6ab37a4f2970b /etc/inc
parentfc5e6f70bb6c0234e8ba5e8d8af0da41f342e9a2 (diff)
downloadpfsense-5c436a447651893317003d5e7bd9ee06a7b54e7c.zip
pfsense-5c436a447651893317003d5e7bd9ee06a7b54e7c.tar.gz
Fix boolean mistake for rules using OS signatures
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index af64a05..9c01e9b 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1392,7 +1392,7 @@ EOD;
}
}
/* OS signatures */
- if ($rule['protocol'] == "tcp" && isset($rule['os']))
+ if (($rule['protocol'] == "tcp") && ($rule['os'] <> ""))
$line .= "os {$rule['os']} ";
}
OpenPOWER on IntegriCloud