diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-01-05 18:41:48 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-01-05 18:41:48 +0000 |
commit | 9e76bc0c973ce0cb905312276014dd1ea22c3ef5 (patch) | |
tree | 7b7d6993e6841a2a159c3579d32736acc93cd3c0 | |
parent | 07a927373f7ae56c4dc418838f705d991411fbfe (diff) |
0 -> (void *)NULL for last argument of icmp_error(), which is of type
struct ifnet *, from Pyun YongHyeon
-rw-r--r-- | sys/net/pf.c | 4 |
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 |