summaryrefslogtreecommitdiff
path: root/sbin/pfctl/parse.y
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-12-13 20:02:41 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-12-13 20:02:41 +0000
commitf59f603dcc0bee0ff88cd04e5f61a9570a41fe53 (patch)
tree86d0a041589ee2fd9f69f7c7c0b1aea2e6a99ebd /sbin/pfctl/parse.y
parentcd2b35ce23d3bc99b0f6e53dc20454a3265ab0b5 (diff)
a bit KNF originally part of another diff soon to come; frantzen@ correctly
pointed out that should be a seperate commit.
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r--sbin/pfctl/parse.y28
1 files changed, 14 insertions, 14 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index b5b1422e182..8ca1a18c3eb 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.252 2002/12/13 12:06:27 deraadt Exp $ */
+/* $OpenBSD: parse.y,v 1.253 2002/12/13 20:02:40 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -178,29 +178,29 @@ struct node_queue_bw {
};
struct filter_opts {
- int marker;
+ int marker;
#define FOM_FLAGS 0x01
#define FOM_ICMP 0x02
#define FOM_TOS 0x04
#define FOM_KEEP 0x08
- struct node_uid *uid;
- struct node_gid *gid;
+ struct node_uid *uid;
+ struct node_gid *gid;
struct {
- u_int8_t b1;
- u_int8_t b2;
- u_int16_t w;
- u_int16_t w2;
+ u_int8_t b1;
+ u_int8_t b2;
+ u_int16_t w;
+ u_int16_t w2;
} flags;
- struct node_icmp *icmpspec;
- u_int32_t tos;
+ struct node_icmp *icmpspec;
+ u_int32_t tos;
struct {
int action;
struct node_state_opt *options;
} keep;
- int fragment;
- int allowopts;
- char *label;
- char *qname;
+ int fragment;
+ int allowopts;
+ char *label;
+ char *qname;
} filter_opts;
struct scrub_opts {