diff options
author | bde <bde@FreeBSD.org> | 1995-11-18 13:25:41 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-18 13:25:41 +0000 |
commit | 39bf0372f9f49e45f2a318ed51c8f74beae187a8 (patch) | |
tree | 4e2b9e2b43eb629485aafa939004630a4b9df67b /sys/netinet | |
parent | 6006f83c909ef8a761d7fdc3214ad1eed1277bf1 (diff) | |
download | FreeBSD-src-39bf0372f9f49e45f2a318ed51c8f74beae187a8.zip FreeBSD-src-39bf0372f9f49e45f2a318ed51c8f74beae187a8.tar.gz |
Fixed the type of a function pointer.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_icmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index 8078f99..4306b4b 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94 - * $Id: ip_icmp.c,v 1.10 1995/09/18 15:51:35 wollman Exp $ + * $Id: ip_icmp.c,v 1.11 1995/11/14 20:34:12 phk Exp $ */ #include <sys/param.h> @@ -194,7 +194,7 @@ icmp_input(m, hlen) int icmplen = ip->ip_len; register int i; struct in_ifaddr *ia; - void (*ctlfunc) __P((int, struct sockaddr *, struct ip *)); + void (*ctlfunc) __P((int, struct sockaddr *, caddr_t)); int code; /* @@ -353,7 +353,7 @@ icmp_input(m, hlen) ctlfunc = inetsw[ip_protox[icp->icmp_ip.ip_p]].pr_ctlinput; if (ctlfunc) (*ctlfunc)(code, (struct sockaddr *)&icmpsrc, - &icp->icmp_ip); + (caddr_t)&icp->icmp_ip); break; badcode: |