summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_icmp.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2014-04-21 12:22:25 +0000
committerhenning <henning@openbsd.org>2014-04-21 12:22:25 +0000
commit4dc494bb7fe7c9c28288c6cd20bb7ae39ee56120 (patch)
tree03fb1649b2abe2937552467f54d214f9d8733ad4 /sys/netinet/ip_icmp.c
parentFix off-by-one error in PG_LGFRAME mask (diff)
downloadwireguard-openbsd-4dc494bb7fe7c9c28288c6cd20bb7ae39ee56120.tar.xz
wireguard-openbsd-4dc494bb7fe7c9c28288c6cd20bb7ae39ee56120.zip
ip_output() using varargs always struck me as bizarre, esp since it's only
ever used to pass on uint32 (for ipsec). stop that madness and just pass the uint32, 0 in all cases but the two that pass the ipsec flowinfo. ok deraadt reyk guenther
Diffstat (limited to 'sys/netinet/ip_icmp.c')
-rw-r--r--sys/netinet/ip_icmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index 478bcdd4bcc..e00a46a5c81 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_icmp.c,v 1.120 2014/04/21 11:10:54 henning Exp $ */
+/* $OpenBSD: ip_icmp.c,v 1.121 2014/04/21 12:22:26 henning Exp $ */
/* $NetBSD: ip_icmp.c,v 1.19 1996/02/13 23:42:22 christos Exp $ */
/*
@@ -844,7 +844,7 @@ icmp_send(struct mbuf *m, struct mbuf *opts)
printf("icmp_send dst %s src %s\n", dst, src);
}
#endif
- ip_output(m, opts, NULL, 0, NULL, NULL);
+ ip_output(m, opts, NULL, 0, NULL, NULL, 0);
}
n_time