summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_gif.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-19 06:31:57 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-19 06:31:57 +0000
commit17975db97fbd8cd77aede61868ad873359891f37 (patch)
treead4afc63686305ca9c7dd3db2c916bb32905aec6 /sys/netinet6/in6_gif.c
parent792cd8995a3ff228d1043276abe11088caf014ea (diff)
Pass the interface (if any) to ipip_input(), so it can be used in
BPF. Closes PR 2000.
Diffstat (limited to 'sys/netinet6/in6_gif.c')
-rw-r--r--sys/netinet6/in6_gif.c4
1 files changed, 2 insertions, 2 deletions
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;
}