diff options
author | 2006-06-15 10:11:27 +0000 | |
---|---|---|
committer | 2006-06-15 10:11:27 +0000 | |
commit | 5a7bae046adca6cf8b5fe018efde2cc487dcf5ab (patch) | |
tree | 55d05a616ed6c81ea8ccd10f46d6a7f9d641bb44 /sys | |
parent | Make number of varargs passed to ip_output match reality. (diff) | |
download | wireguard-openbsd-5a7bae046adca6cf8b5fe018efde2cc487dcf5ab.tar.xz wireguard-openbsd-5a7bae046adca6cf8b5fe018efde2cc487dcf5ab.zip |
Change cast of last vararg to ip_output to match what ip_output expects,
for clarity.
henning@ claudio@ ok
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_mroute.c | 6 |
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", |