From 358d68a7abada473476ebd08193f7dc162adea17 Mon Sep 17 00:00:00 2001 From: David Krause Date: Sat, 26 Jun 2004 07:25:17 +0000 Subject: add back PF_INOUT, fixes reassemble tcp ok canacar@ mcbride@ --- sbin/pfctl/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/pfctl/parse.y') diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index a8b548c6ab5..6bde77f951f 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.456 2004/06/25 05:45:48 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.457 2004/06/26 07:25:16 david Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -757,7 +757,7 @@ scrubrule : SCRUB dir logquick interface af proto fromto scrub_opts if ($8.randomid) r.rule_flag |= PFRULE_RANDOMID; if ($8.reassemble_tcp) { - if (r.direction != PF_FORWARD) { + if (r.direction != PF_INOUT) { yyerror("reassemble tcp rules can not " "specify direction"); YYERROR; -- cgit v1.2.3