summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-11-24 22:45:49 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-11-24 22:45:49 +0000
commit18bb61a79574db5d32adbb59763e14c466c50538 (patch)
tree03525f352c3549b830988192ca69de95c5a494ee /sys/net/pf.c
parentdf2b31511031eb19e97661786f0fe4b2108d92ca (diff)
move } outside #ifdef INET6
unbreaks compiling kernel without IPv6 support. how embarassing, spotted by Chris Kuethe
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index edc596f25eb..4233968cb18 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.262 2002/11/23 09:37:01 deraadt Exp $ */
+/* $OpenBSD: pf.c,v 1.263 2002/11/24 22:45:48 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1328,8 +1328,8 @@ pf_map_addr(u_int8_t af, struct pf_pool *rpool, struct pf_addr *saddr,
if (rmask->addr32[0] != 0xffffffff)
rpool->counter.addr32[0] = arc4random();
break;
- }
#endif /* INET6 */
+ }
PF_POOLMASK(naddr, raddr, rmask, &rpool->counter, af);
PF_ACPY(init_addr, naddr, af);