summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorChristopher Pascoe <pascoe@cvs.openbsd.org>2006-06-15 10:11:28 +0000
committerChristopher Pascoe <pascoe@cvs.openbsd.org>2006-06-15 10:11:28 +0000
commitb24c55cd714fc1bf796b214184a2a74299ecccf4 (patch)
treef08f3983b8ded5bdc6e9a267e455d9248ecd9de5 /sys/netinet
parentf02e58257867622bb5c313afb151fa0eda5e58d8 (diff)
Change cast of last vararg to ip_output to match what ip_output expects,
for clarity. henning@ claudio@ ok
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_mroute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index f91b51344e4..cb2334933b1 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_mroute.c,v 1.44 2006/05/11 20:12:50 hshoexer Exp $ */
+/* $OpenBSD: ip_mroute.c,v 1.45 2006/06/15 10:11:27 pascoe Exp $ */
/* $NetBSD: ip_mroute.c,v 1.85 2004/04/26 01:31:57 matt Exp $ */
/*
@@ -2049,7 +2049,7 @@ tbf_send_packet(struct vif *vifp, struct mbuf *m)
/* If tunnel options */
ip_output(m, (struct mbuf *)NULL, &vifp->v_route,
IP_FORWARDING, (struct ip_moptions *)NULL,
- (struct socket *)NULL);
+ (struct inpcb *)NULL);
} else {
/* if physical interface option, extract the options and then send */
struct ip_moptions imo;
@@ -2063,7 +2063,7 @@ tbf_send_packet(struct vif *vifp, struct mbuf *m)
error = ip_output(m, (struct mbuf *)NULL, (struct route *)NULL,
IP_FORWARDING|IP_MULTICASTOPTS, &imo,
- (struct socket *)NULL);
+ (struct inpcb *)NULL);
if (mrtdebug & DEBUG_XMIT)
log(LOG_DEBUG, "phyint_send on vif %ld err %d\n",