diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-26 19:14:15 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-26 19:14:15 +0000 |
commit | 267c8297a7040899613a1beaaeaba98c8c2b2540 (patch) | |
tree | b752093a3e8da5250e3ca6c0bb86720533817ed8 /sbin | |
parent | c3b5cdfccf92fc8fa8972e4ead0044cae0a39e5e (diff) |
queue comes before NAT
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 7d5331b86ea..b4ddce5313d 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.215 2002/11/25 18:11:34 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.216 2002/11/26 19:14:14 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -69,8 +69,8 @@ enum { PFCTL_STATE_NONE = 0, PFCTL_STATE_OPTION = 1, PFCTL_STATE_SCRUB = 2, - PFCTL_STATE_NAT = 3, - PFCTL_STATE_QUEUE = 4, + PFCTL_STATE_QUEUE = 3, + PFCTL_STATE_NAT = 4, PFCTL_STATE_FILTER = 5 }; @@ -2878,8 +2878,8 @@ int check_rulestate(int desired_state) { if (require_order && (rulestate > desired_state)) { - yyerror("Rules must be in order: options, normalization, " - "translation, queue, filter"); + yyerror("Rules must be in order: options, scrub, " + "queue, NAT, filter"); return (1); } rulestate = desired_state; |