summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-03-09 14:47:21 +0000
committershin <shin@FreeBSD.org>2000-03-09 14:47:21 +0000
commit88d80a54ba77dd6d68d777e737b95fc2aa4d78de (patch)
tree5d4e86a40472248109fac31c01ac37ce1ca71e6e /sbin
parent2eef6765bdeaaadb9ae11f47beb902eb00413f47 (diff)
downloadFreeBSD-src-88d80a54ba77dd6d68d777e737b95fc2aa4d78de.zip
FreeBSD-src-88d80a54ba77dd6d68d777e737b95fc2aa4d78de.tar.gz
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
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ping6/ping6.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 00f06e3..da6bd38 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);
OpenPOWER on IntegriCloud