diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-07-21 02:46:55 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-07-21 02:46:55 +0000 |
commit | 41962fe8fab54e3e35938081979b4f70441afab4 (patch) | |
tree | 258a424009decdeb836863c7734b0692d722c9ce /sys/net/if_loop.c | |
parent | d6a1712dfa281702bd4df539c48a57096c6ca3a0 (diff) |
Put the mbuf_list inside "#ifdef MPLS".
reported by rpe@
Diffstat (limited to 'sys/net/if_loop.c')
-rw-r--r-- | sys/net/if_loop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index bbfa847e828..af6dab6d508 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_loop.c,v 1.68 2015/07/20 22:54:29 mpi Exp $ */ +/* $OpenBSD: if_loop.c,v 1.69 2015/07/21 02:46:54 mpi Exp $ */ /* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */ /* @@ -204,7 +204,9 @@ looutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, struct rtentry *rt) { struct niqueue *ifq = NULL; +#ifdef MPLS struct mbuf_list ml = MBUF_LIST_INITIALIZER(); +#endif /* MPLS */ if ((m->m_flags & M_PKTHDR) == 0) panic("looutput: no header mbuf"); |