diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-07-01 00:28:53 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-07-01 00:28:53 +0000 |
commit | bba43e7d1c23b4a76ebca783d9543cd9e67798b6 (patch) | |
tree | ee21fd0b0cb5528422fde46abd2ea6f1af21520d /sys/net | |
parent | 56b59da7980e32b41ebc032a9a5697640184adb8 (diff) |
wrap pf_normalize_ip6() by #ifdef INET6. pointed out by Wouter Clarie
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf_norm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index c6e56bc19fa..ecef4432fb1 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.61 2003/06/29 23:37:12 itojun Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.62 2003/07/01 00:28:52 itojun Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -994,6 +994,7 @@ pf_normalize_ip(struct mbuf **m0, int dir, struct ifnet *ifp, u_short *reason) return (PF_DROP); } +#ifdef INET6 int pf_normalize_ip6(struct mbuf **m0, int dir, struct ifnet *ifp, u_short *reason) { @@ -1160,6 +1161,7 @@ pf_normalize_ip6(struct mbuf **m0, int dir, struct ifnet *ifp, u_short *reason) PFLOG_PACKET(ifp, h, m, AF_INET6, dir, *reason, r, NULL, NULL); return (PF_DROP); } +#endif int pf_normalize_tcp(int dir, struct ifnet *ifp, struct mbuf *m, int ipoff, |