NetBSD Problem Report #49896

From www@NetBSD.org  Wed May 13 10:36:00 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A018EA654C
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 13 May 2015 10:36:00 +0000 (UTC)
Message-Id: <20150513103559.BD96DA6558@mollari.NetBSD.org>
Date: Wed, 13 May 2015 10:35:59 +0000 (UTC)
From: ozaki-r@netbsd.org
Reply-To: ozaki-r@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: ping6 doesn't have timeout feature like ping -w
X-Send-Pr-Version: www-1.0

>Number:         49896
>Category:       bin
>Synopsis:       ping6 doesn't have timeout feature like ping -w
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 13 10:40:00 +0000 2015
>Closed-Date:    Fri Jun 26 05:23:32 +0000 2015
>Last-Modified:  Fri Jun 26 05:23:32 +0000 2015
>Originator:     Ryota Ozaki
>Release:        current
>Organization:
>Environment:
current
>Description:
ping6 doesn't have timeout feature. It annoys us when we want to write negative tests;
we have to wait long time to know that ping6 fails expectedly.

ping has the feature, option -w.
>How-To-Repeat:
N/A
>Fix:
N/A

>Release-Note:

>Audit-Trail:
From: "Mihai Chelaru" <kefren@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49896 CVS commit: src/sbin/ping6
Date: Fri, 15 May 2015 08:02:39 +0000

 Module Name:	src
 Committed By:	kefren
 Date:		Fri May 15 08:02:39 UTC 2015

 Modified Files:
 	src/sbin/ping6: ping6.8 ping6.c

 Log Message:
 Add options -X for deadline and -x for reply maxwait (flag names matching
 FreeBSD). Unline FreeBSD, currently -x doesn't count late packets to statistics.
 After discussion with, and help from ozaki-r@
 Should fix PR/49896


 To generate a diff of this commit:
 cvs rdiff -u -r1.29 -r1.30 src/sbin/ping6/ping6.8
 cvs rdiff -u -r1.86 -r1.87 src/sbin/ping6/ping6.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: ozaki-r@NetBSD.org
State-Changed-When: Fri, 26 Jun 2015 05:23:32 +0000
State-Changed-Why:
Patch provided by kefren works well (some ATF tests use it now).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.