Module Name: src Committed By: christos Date: Wed Nov 3 21:44:46 UTC 2010
Modified Files: src/tests/net/icmp: t_ping.c Log Message: make that u_int, because it is passed as a socket option. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/net/icmp/t_ping.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/net/icmp/t_ping.c diff -u src/tests/net/icmp/t_ping.c:1.9 src/tests/net/icmp/t_ping.c:1.10 --- src/tests/net/icmp/t_ping.c:1.9 Wed Nov 3 12:10:24 2010 +++ src/tests/net/icmp/t_ping.c Wed Nov 3 17:44:46 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ping.c,v 1.9 2010/11/03 16:10:24 christos Exp $ */ +/* $NetBSD: t_ping.c,v 1.10 2010/11/03 21:44:46 christos Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: t_ping.c,v 1.9 2010/11/03 16:10:24 christos Exp $"); +__RCSID("$NetBSD: t_ping.c,v 1.10 2010/11/03 21:44:46 christos Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -129,7 +129,7 @@ } static int -doping(const char *target, int loops, size_t pktsize) +doping(const char *target, int loops, u_int pktsize) { char sndbuf[IP_MAXPACKET - sizeof(struct ip)]; char recvbuf[IP_MAXPACKET];