summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorChristopher Pascoe <pascoe@cvs.openbsd.org>2006-06-15 10:08:35 +0000
committerChristopher Pascoe <pascoe@cvs.openbsd.org>2006-06-15 10:08:35 +0000
commitf02e58257867622bb5c313afb151fa0eda5e58d8 (patch)
tree19396106e8bd6bb562158243277fcbb1fdd6ab44 /sys/netinet
parent8e1d137156feaabc9707cb42be31332f82a1f8cb (diff)
Make number of varargs passed to ip_output match reality.
henning@ claudio@ ok
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 160fac4048d..abaef2d5bf6 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.139 2006/05/29 20:42:27 claudio Exp $ */
+/* $OpenBSD: ip_input.c,v 1.140 2006/06/15 10:08:34 pascoe Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -1488,9 +1488,9 @@ ip_forward(m, srcrt)
}
}
- error = ip_output(m, (struct mbuf *)0, &ipforward_rt,
+ error = ip_output(m, (struct mbuf *)NULL, &ipforward_rt,
(IP_FORWARDING | (ip_directedbcast ? IP_ALLOWBROADCAST : 0)),
- 0, (void *)NULL, (void *)NULL);
+ (void *)NULL, (void *)NULL);
if (error)
ipstat.ips_cantforward++;
else {