From 690a43db7ea2982825c18e58c248814007d0a665 Mon Sep 17 00:00:00 2001 From: Yoshinobu Inoue Date: Thu, 9 Mar 2000 14:47:21 +0000 Subject: Update icmp node info query message bit order of query types, according to draft-ietf-ipngwg-icmp-name-lookups-04 to 05 change. This is necessary before 4.0, because, -This change is non backword compatible -Other KAME derived platforms applied 05 -Author of the draft said he never do backword imcompatible changes again. Approved by: jkh Obtained from: KAME project --- sbin/ping6/ping6.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sbin/ping6') diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index 00f06e378a46..da6bd38dfdf0 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -296,6 +296,10 @@ main(argc, argv) case 'a': naflags |= NI_NODEADDR_FLAG_ALL; break; + case 'c': + case 'C': + naflags |= NI_NODEADDR_FLAG_COMPAT; + break; case 'l': case 'L': naflags |= NI_NODEADDR_FLAG_LINKLOCAL; @@ -1553,7 +1557,7 @@ usage() "AE" #endif #endif - "] [-a [alsg]] [-b sockbufsiz] [-c count] [-I interface]\n\ + "] [-a [aclsg]] [-b sockbufsiz] [-c count] [-I interface]\n\ [-i wait] [-l preload] [-p pattern] [-s packetsize]\n\ [-h hoplimit] host [hosts...]\n"); exit(1); -- cgit v1.2.3