summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-06-10 16:51:38 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2002-06-10 16:51:38 +0000
commit843aa584d09c4e83459da5e65986de87653c6038 (patch)
treef8182d598f829033ef81249eb46f3aa2529fd66c /sbin/pfctl
parenta981103755027ffa59d42c6164b2d43707e41256 (diff)
Move enum out of struct (gcc 3.1 wasn't happy), from David Krause
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 6ab5a265d5a..3bd7b4a2264 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.91 2002/06/10 02:09:59 kjell Exp $ */
+/* $OpenBSD: parse.y,v 1.92 2002/06/10 16:51:37 dhartmei Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -103,8 +103,8 @@ struct node_icmp {
struct node_icmp *next;
};
+enum { PF_STATE_OPT_MAX=0, PF_STATE_OPT_TIMEOUT=1 };
struct node_state_opt {
- enum { PF_STATE_OPT_MAX=0, PF_STATE_OPT_TIMEOUT=1 };
int type;
union {
u_int32_t max_states;