diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-24 23:53:22 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-24 23:53:22 +0000 |
commit | b9a279ba9466d8733261aff1bab0d3ec1031c34c (patch) | |
tree | 6a995795abf0322f540585a6c4d28847fbebb773 /networking/Config.in | |
parent | 677cb5eea52f2424bef1fd0fcc6ed3c8c8b5f1d5 (diff) | |
download | busybox-w32-b9a279ba9466d8733261aff1bab0d3ec1031c34c.tar.gz busybox-w32-b9a279ba9466d8733261aff1bab0d3ec1031c34c.tar.bz2 busybox-w32-b9a279ba9466d8733261aff1bab0d3ec1031c34c.zip |
Unify ping and ping6. ping has -4 and -6 which force
name resolution into IP or IPv6 only, otherwise
we take address family returned by host2sockaddr()
in lsa->sa.sa_family. IOW: "ping ::1" with do IPv6 ping,
"ping 127.0.0.1" will do IPv4 ping.
ping6 is aliased to "ping -6".
Diffstat (limited to 'networking/Config.in')
-rw-r--r-- | networking/Config.in | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/networking/Config.in b/networking/Config.in index 0251a1401..2235dbe3f 100644 --- a/networking/Config.in +++ b/networking/Config.in | |||
@@ -501,27 +501,19 @@ config PING | |||
501 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to | 501 | ping uses the ICMP protocol's mandatory ECHO_REQUEST datagram to |
502 | elicit an ICMP ECHO_RESPONSE from a host or gateway. | 502 | elicit an ICMP ECHO_RESPONSE from a host or gateway. |
503 | 503 | ||
504 | config FEATURE_FANCY_PING | ||
505 | bool "Enable fancy ping output" | ||
506 | default y | ||
507 | depends on PING | ||
508 | help | ||
509 | Make the output from the ping applet include statistics, and at the | ||
510 | same time provide full support for ICMP packets. | ||
511 | |||
512 | config PING6 | 504 | config PING6 |
513 | bool "ping6" | 505 | bool "ping6" |
514 | default n | 506 | default n |
515 | depends on FEATURE_IPV6 | 507 | depends on FEATURE_IPV6 && PING |
516 | help | 508 | help |
517 | This will give you a ping that can talk IPv6. | 509 | This will give you a ping that can talk IPv6. |
518 | 510 | ||
519 | config FEATURE_FANCY_PING6 | 511 | config FEATURE_FANCY_PING |
520 | bool "Enable fancy ping6 output" | 512 | bool "Enable fancy ping output" |
521 | default y | 513 | default y |
522 | depends on PING6 | 514 | depends on PING |
523 | help | 515 | help |
524 | Make the output from the ping6 applet include statistics, and at the | 516 | Make the output from the ping applet include statistics, and at the |
525 | same time provide full support for ICMP packets. | 517 | same time provide full support for ICMP packets. |
526 | 518 | ||
527 | config ROUTE | 519 | config ROUTE |