From ad2238f4b4ec4912818bdb741954f15c7f444f01 Mon Sep 17 00:00:00 2001 From: silby Date: Sat, 9 Aug 2003 05:44:00 +0000 Subject: Also ifdef the variable which becomes unused w/o INET6, fixing the build after the previous commit. Noticed by: alc --- sys/net/if_loop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net') 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 */ -- cgit v1.1