summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2012-10-01 14:48:05 +0200
committerbcyrill <cyrill@bannwart.info>2012-10-01 14:48:05 +0200
commitdcbafe17d2f7429b18e275195c3ed5e659250f76 (patch)
tree1846faf5f59c53f7525251825e0b6d5cb2673d8a
parent79cc9e6b910339a69a83e3926b2776def08ae9ab (diff)
downloadpfsense-dcbafe17d2f7429b18e275195c3ed5e659250f76.zip
pfsense-dcbafe17d2f7429b18e275195c3ed5e659250f76.tar.gz
Fix typo
-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 8b596ee..c94a6f2 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2213,7 +2213,7 @@ function filter_generate_user_rule($rule) {
$flags2 = explode(",", $rule['tcpflags2']);
foreach ($flags2 as $flag2) {
// CWR flag needs special treatment
- if($flag1[0] == "c")
+ if($flag2[0] == "c")
$aline['flags'] .= "W";
else
$aline['flags'] .= strtoupper($flag2[0]);
OpenPOWER on IntegriCloud