diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_loop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 7158b3d..459498e 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -201,6 +201,7 @@ looutput(ifp, m, dst, rt) return (rt->rt_flags & RTF_BLACKHOLE ? 0 : rt->rt_flags & RTF_HOST ? EHOSTUNREACH : ENETUNREACH); } +#ifdef INET6 /* * KAME requires that the packet to be contiguous on the * mbuf. We need to make that sure. @@ -222,6 +223,7 @@ looutput(ifp, m, dst, rt) m = n; } } +#endif ifp->if_opackets++; ifp->if_obytes += m->m_pkthdr.len; |