Make tun(4) compile without INET.
MFC after: 2 months
This commit is contained in:
parent
e0de57f9ea
commit
063acb9ac1
@ -494,8 +494,10 @@ tunclose(struct cdev *dev, int foo, int bar, struct thread *td)
|
|||||||
static int
|
static int
|
||||||
tuninit(struct ifnet *ifp)
|
tuninit(struct ifnet *ifp)
|
||||||
{
|
{
|
||||||
|
#ifdef INET
|
||||||
struct tun_softc *tp = ifp->if_softc;
|
struct tun_softc *tp = ifp->if_softc;
|
||||||
struct ifaddr *ifa;
|
struct ifaddr *ifa;
|
||||||
|
#endif
|
||||||
int error = 0;
|
int error = 0;
|
||||||
|
|
||||||
TUNDEBUG(ifp, "tuninit\n");
|
TUNDEBUG(ifp, "tuninit\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user