From 149fa38cf4599c4b480af37a52bf48bcbb0812de Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 22 Jun 2004 18:59:14 +0000 Subject: [PATCH] Make it compile on non-IPv6 kernels. --- sys/dist/pf/net/pf_ioctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dist/pf/net/pf_ioctl.c b/sys/dist/pf/net/pf_ioctl.c index 7b6975818373..7e1ff6c24ab2 100644 --- a/sys/dist/pf/net/pf_ioctl.c +++ b/sys/dist/pf/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: pf_ioctl.c,v 1.3 2004/06/22 18:04:32 christos Exp $ */ +/* $NetBSD: pf_ioctl.c,v 1.4 2004/06/22 18:59:14 martin Exp $ */ /* $OpenBSD: pf_ioctl.c,v 1.112 2004/03/22 04:54:18 mcbride Exp $ */ /* @@ -2762,6 +2762,7 @@ pfil4_wrapper(void *arg, struct mbuf **mp, struct ifnet *ifp, int dir) return (0); } +#ifdef INET6 int pfil6_wrapper(void *arg, struct mbuf **mp, struct ifnet *ifp, int dir) { @@ -2771,6 +2772,7 @@ pfil6_wrapper(void *arg, struct mbuf **mp, struct ifnet *ifp, int dir) else return (0); } +#endif extern void pfi_kifaddr_update(void *);