diff options
author | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-03-09 14:47:21 +0000 |
---|---|---|
committer | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-03-09 14:47:21 +0000 |
commit | 690a43db7ea2982825c18e58c248814007d0a665 (patch) | |
tree | a85a00d5dce2eaf6118958ccc2a72a618ad8c5a8 /sbin/ping6 | |
parent | a4fcac54a171f9b11bd2ba6d4ca64834b32e2bff (diff) | |
download | src-690a43db7ea2982825c18e58c248814007d0a665.tar.gz src-690a43db7ea2982825c18e58c248814007d0a665.zip |
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
Notes
Notes:
svn path=/head/; revision=57851
Diffstat (limited to 'sbin/ping6')
-rw-r--r-- | sbin/ping6/ping6.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |