Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/icmp make that u_int, because it is passed as a so...



details:   https://anonhg.NetBSD.org/src/rev/67dacf1137d6
branches:  trunk
changeset: 758385:67dacf1137d6
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 03 21:44:46 2010 +0000

description:
make that u_int, because it is passed as a socket option.

diffstat:

 tests/net/icmp/t_ping.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 59be48d630ed -r 67dacf1137d6 tests/net/icmp/t_ping.c
--- a/tests/net/icmp/t_ping.c   Wed Nov 03 21:07:24 2010 +0000
+++ b/tests/net/icmp/t_ping.c   Wed Nov 03 21:44:46 2010 +0000
@@ -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];



Home | Main Index | Thread Index | Old Index