Make it compile on non-IPv6 kernels.

This commit is contained in:
martin 2004-06-22 18:59:14 +00:00
parent be9dcae132
commit 149fa38cf4
1 changed files with 3 additions and 1 deletions

View File

@ -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 *);