From 4b49ebbde244ad62ad3352277ed9d920e7201747 Mon Sep 17 00:00:00 2001 From: Daniel Hartmeier Date: Thu, 23 Dec 2004 17:21:49 +0000 Subject: set rule_flag PFRULE_SRCTRACK when setting srctrack, found by camield@ using regress test pf84 --- sbin/pfctl/parse.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin/pfctl/parse.y') 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) { -- cgit v1.2.3