Source-Changes-HG archive

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

[src/trunk]: src/sbin/ping6 Fix usage(), A/E don't exist.



details:   https://anonhg.NetBSD.org/src/rev/585b3e67490a
branches:  trunk
changeset: 318439:585b3e67490a
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Apr 23 18:37:19 2018 +0000
description:
Fix usage(), A/E don't exist.

diffstat:

 sbin/ping6/ping6.c |  12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diffs (33 lines):

diff -r bc449b6b83bc -r 585b3e67490a sbin/ping6/ping6.c
--- a/sbin/ping6/ping6.c        Mon Apr 23 18:32:18 2018 +0000
+++ b/sbin/ping6/ping6.c        Mon Apr 23 18:37:19 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ping6.c,v 1.98 2018/04/23 18:32:18 maxv Exp $  */
+/*     $NetBSD: ping6.c,v 1.99 2018/04/23 18:37:19 maxv Exp $  */
 /*     $KAME: ping6.c,v 1.164 2002/11/16 14:05:37 itojun Exp $ */
 
 /*
@@ -77,7 +77,7 @@
 #else
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ping6.c,v 1.98 2018/04/23 18:32:18 maxv Exp $");
+__RCSID("$NetBSD: ping6.c,v 1.99 2018/04/23 18:37:19 maxv Exp $");
 #endif
 #endif
 
@@ -2547,13 +2547,7 @@
 {
        (void)fprintf(stderr,
            "usage: ping6 [-"
-#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
-           "dfH"
-#else
-           "AdEfH"
-#endif
-           "m"
-           "Nnq"
+           "dfHmNnq"
 #ifdef IPV6_REACHCONF
            "R"
 #endif



Home | Main Index | Thread Index | Old Index