summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-07-17 22:52:30 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-07-17 22:52:30 +0000
commitc85a3e0b43bed8dfb785bc1ff65d630aa9f23a9f (patch)
tree25f71e1984891764aff21f704117862811b773e3 /sys/net/pf.c
parent89b028084d937c7f64ed58f9f9747b754e7998fa (diff)
remove obsolete INET kernel option
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index fd27045de51..139cb7cbd91 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.924 2015/07/16 21:14:21 mpi Exp $ */
+/* $OpenBSD: pf.c,v 1.925 2015/07/17 22:52:29 tedu Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1872,7 +1872,7 @@ pf_change_icmp(struct pf_pdesc *pd, struct pf_addr *ia, u_int16_t *ip,
PF_ACPY(oa, na, af);
}
-#if INET && INET6
+#if INET6
int
pf_translate_af(struct pf_pdesc *pd)
{
@@ -2228,7 +2228,7 @@ pf_translate_icmp_af(int af, void *arg)
return (0);
}
-#endif /* INET && INET6 */
+#endif /* INET6 */
/*
* Need to modulate the sequence numbers in the TCP SACK option