summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhartmei <dhartmei@openbsd.org>2004-01-05 18:41:47 +0000
committerdhartmei <dhartmei@openbsd.org>2004-01-05 18:41:47 +0000
commitec7a17c0fbee840c067f3209a59e3ad89ad29a9f (patch)
treeccd2923c8f6d81910e4a261e53a8994db950e69a
parentwaitpid's return is a pid_t (diff)
downloadwireguard-openbsd-ec7a17c0fbee840c067f3209a59e3ad89ad29a9f.tar.xz
wireguard-openbsd-ec7a17c0fbee840c067f3209a59e3ad89ad29a9f.zip
0 -> (void *)NULL for last argument of icmp_error(), which is of type
struct ifnet *, from Pyun YongHyeon
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index aa70e1c7363..738aa05f777 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.416 2004/01/04 12:56:33 cedric Exp $ */
+/* $OpenBSD: pf.c,v 1.417 2004/01/05 18:41:47 dhartmei Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1454,7 +1454,7 @@ pf_send_icmp(struct mbuf *m, u_int8_t type, u_int8_t code, sa_family_t af,
switch (af) {
#ifdef INET
case AF_INET:
- icmp_error(m0, type, code, 0, 0);
+ icmp_error(m0, type, code, 0, (void *)NULL);
break;
#endif /* INET */
#ifdef INET6