From 17975db97fbd8cd77aede61868ad873359891f37 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Sun, 19 Aug 2001 06:31:57 +0000 Subject: Pass the interface (if any) to ipip_input(), so it can be used in BPF. Closes PR 2000. --- sys/netinet6/in6_gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netinet6') diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c index 591a8c45aa9..24c30aed2d2 100644 --- a/sys/netinet6/in6_gif.c +++ b/sys/netinet6/in6_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_gif.c,v 1.17 2001/07/27 15:48:38 itojun Exp $ */ +/* $OpenBSD: in6_gif.c,v 1.18 2001/08/19 06:31:56 angelos Exp $ */ /* $KAME: in6_gif.c,v 1.43 2001/01/22 07:27:17 itojun Exp $ */ /* @@ -250,7 +250,7 @@ int in6_gif_input(mp, offp, proto) m->m_pkthdr.rcvif = gifp; gifp->if_ipackets++; gifp->if_ibytes += m->m_pkthdr.len; - ipip_input(m, *offp); + ipip_input(m, *offp, gifp); return IPPROTO_DONE; } -- cgit v1.2.3