summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index 775471d..7c01ebe 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -497,8 +497,8 @@ 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;
+#ifdef INET
struct ifaddr *ifa;
#endif
int error = 0;
OpenPOWER on IntegriCloud