summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2003-08-09 05:44:00 +0000
committersilby <silby@FreeBSD.org>2003-08-09 05:44:00 +0000
commitad2238f4b4ec4912818bdb741954f15c7f444f01 (patch)
treea2ed22aaf8eb84917e5bd846d2795845706ec642 /sys/net
parentcba11c2ed4dfc136d9146fef5c2924153495cbd9 (diff)
downloadFreeBSD-src-ad2238f4b4ec4912818bdb741954f15c7f444f01.zip
FreeBSD-src-ad2238f4b4ec4912818bdb741954f15c7f444f01.tar.gz
Also ifdef the variable which becomes unused w/o INET6, fixing the build
after the previous commit. Noticed by: alc
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index 459498e..f9c806b 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -192,7 +192,9 @@ looutput(ifp, m, dst, rt)
struct sockaddr *dst;
register struct rtentry *rt;
{
+#ifdef INET6
struct mbuf *n;
+#endif
M_ASSERTPKTHDR(m); /* check if we have the packet header */
OpenPOWER on IntegriCloud