diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-06-10 14:22:55 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-06-10 14:22:55 +0000 |
commit | 029e8948e82df60a161af1f9776c7ede732a6207 (patch) | |
tree | c7ac861055b0902ad5dff4da0a9ce853c2d05808 /sys/net/pfvar.h | |
parent | 823082bc23f082927ba04e7a9d76845537fb3209 (diff) |
rename struct pf_rule_addr member 'not' to 'neg', as 'not' is a reserved
keyword in C++. ok henning@, cedric@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index c215207ac72..0aa64fb67ad 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.195 2004/05/19 17:50:52 dhartmei Exp $ */ +/* $OpenBSD: pfvar.h,v 1.196 2004/06/10 14:22:54 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -275,7 +275,7 @@ struct pfi_dynaddr { #endif /* PF_INET6_ONLY */ #endif /* PF_INET_INET6 */ -#define PF_MISMATCHAW(aw, x, af, not) \ +#define PF_MISMATCHAW(aw, x, af, neg) \ ( \ (((aw)->type == PF_ADDR_NOROUTE && \ pf_routable((x), (af))) || \ @@ -287,7 +287,7 @@ struct pfi_dynaddr { !PF_AZERO(&(aw)->v.a.mask, (af)) && \ !PF_MATCHA(0, &(aw)->v.a.addr, \ &(aw)->v.a.mask, (x), (af)))) != \ - (not) \ + (neg) \ ) struct pf_rule_uid { @@ -303,7 +303,7 @@ struct pf_rule_gid { struct pf_rule_addr { struct pf_addr_wrap addr; u_int16_t port[2]; - u_int8_t not; + u_int8_t neg; u_int8_t port_op; }; |