summaryrefslogtreecommitdiff
path: root/sbin/pfctl/parse.y
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2004-12-23 17:21:49 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2004-12-23 17:21:49 +0000
commit4b49ebbde244ad62ad3352277ed9d920e7201747 (patch)
treeae155ec29e33fe83f5a6f4c8d821429b860d84af /sbin/pfctl/parse.y
parent6bda26cf25b330ed55caab77ea25152ed8030273 (diff)
set rule_flag PFRULE_SRCTRACK when setting srctrack, found by camield@
using regress test pf84
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r--sbin/pfctl/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 92696a98564..e0345ad32da 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.471 2004/12/22 17:17:55 dhartmei Exp $ */
+/* $OpenBSD: parse.y,v 1.472 2004/12/23 17:21:48 dhartmei Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -1589,6 +1589,7 @@ pfrule : action dir logquick interface route af proto fromto
YYERROR;
}
srctrack = o->data.src_track;
+ r.rule_flag |= PFRULE_SRCTRACK;
break;
case PF_STATE_OPT_MAX_SRC_STATES:
if (r.max_src_states) {