Date: Wed, 5 Nov 2008 11:39:46 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184679 - head/sys/net Message-ID: <200811051139.mA5Bdkts025795@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Wed Nov 5 11:39:46 2008 New Revision: 184679 URL: http://svn.freebsd.org/changeset/base/184679 Log: Make tun(4) compile without INET. MFC after: 2 months Modified: head/sys/net/if_tun.c Modified: head/sys/net/if_tun.c ============================================================================== --- head/sys/net/if_tun.c Wed Nov 5 11:37:26 2008 (r184678) +++ head/sys/net/if_tun.c Wed Nov 5 11:39:46 2008 (r184679) @@ -494,8 +494,10 @@ tunclose(struct cdev *dev, int foo, int 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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811051139.mA5Bdkts025795>