From 848d0be7cc1569a46055ea5c595e36b9185b1eda Mon Sep 17 00:00:00 2001 From: rpaulo Date: Fri, 5 May 2006 12:49:23 +0000 Subject: [PATCH] len should be socklen_t, not size_t. Spotted by Juergen Hannken-Illjes . --- sbin/ping6/ping6.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index 2fcc6a0f38eb..0b57a30ec095 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $NetBSD: ping6.c,v 1.66 2006/05/05 00:03:22 rpaulo Exp $ */ +/* $NetBSD: ping6.c,v 1.67 2006/05/05 12:49:23 rpaulo Exp $ */ /* $KAME: ping6.c,v 1.164 2002/11/16 14:05:37 itojun Exp $ */ /* @@ -77,7 +77,7 @@ static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93"; #else #include #ifndef lint -__RCSID("$NetBSD: ping6.c,v 1.66 2006/05/05 00:03:22 rpaulo Exp $"); +__RCSID("$NetBSD: ping6.c,v 1.67 2006/05/05 12:49:23 rpaulo Exp $"); #endif #endif @@ -1735,7 +1735,8 @@ pr_ip6opt(void *extbuf) struct ip6_hbh *ext; int currentlen; u_int8_t type; - size_t extlen, len; + size_t extlen; + socklen_t len; void *databuf; size_t offset; u_int16_t value2;