1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Make tun(4) compile without INET.

MFC after:	2 months
This commit is contained in:
Bjoern A. Zeeb 2008-11-05 11:39:46 +00:00
parent e0de57f9ea
commit 063acb9ac1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184679

View File

@ -494,8 +494,10 @@ tunclose(struct cdev *dev, int foo, int bar, struct thread *td)
static int
tuninit(struct ifnet *ifp)
{
#ifdef INET
struct tun_softc *tp = ifp->if_softc;
struct ifaddr *ifa;
#endif
int error = 0;
TUNDEBUG(ifp, "tuninit\n");