diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-09-28 18:39:06 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-09-28 18:44:48 +0200 |
commit | 1c32e49bdf74dfe47cae108d06702996ead052f0 (patch) | |
tree | 129680cd72ef41bb9a64a3ca0edd2634cf430d1c /networking/Config.src | |
parent | 61fcc8c78174f92fbdad0a7f86b5086619b05ed9 (diff) | |
download | busybox-w32-1c32e49bdf74dfe47cae108d06702996ead052f0.tar.gz busybox-w32-1c32e49bdf74dfe47cae108d06702996ead052f0.tar.bz2 busybox-w32-1c32e49bdf74dfe47cae108d06702996ead052f0.zip |
traceroute: cleanup and fixes for packet size calculations
Remove FEATURE_TRACEROUTE_SOURCE_ROUTE: it's off by default, and
source routing is not used in real world.
Tested that "traceroute -n ::1 100" and "traceroute -n 127.0.0.1 100"
both send 100 byte IP packets (this matches what traceroute on Fedora
Rawhide is doing).
function old new delta
common_traceroute_main 3731 3738 +7
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/Config.src')
-rw-r--r-- | networking/Config.src | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/networking/Config.src b/networking/Config.src index 27c604a31..eb0536a7c 100644 --- a/networking/Config.src +++ b/networking/Config.src | |||
@@ -912,17 +912,9 @@ config FEATURE_TRACEROUTE_VERBOSE | |||
912 | Add some verbosity to traceroute. This includes among other things | 912 | Add some verbosity to traceroute. This includes among other things |
913 | hostnames and ICMP response types. | 913 | hostnames and ICMP response types. |
914 | 914 | ||
915 | config FEATURE_TRACEROUTE_SOURCE_ROUTE | ||
916 | bool "Enable loose source route" | ||
917 | default n | ||
918 | depends on TRACEROUTE | ||
919 | help | ||
920 | Add option to specify a loose source route gateway | ||
921 | (8 maximum). | ||
922 | |||
923 | config FEATURE_TRACEROUTE_USE_ICMP | 915 | config FEATURE_TRACEROUTE_USE_ICMP |
924 | bool "Use ICMP instead of UDP" | 916 | bool "Enable -I option (use ICMP instead of UDP)" |
925 | default n | 917 | default y |
926 | depends on TRACEROUTE | 918 | depends on TRACEROUTE |
927 | help | 919 | help |
928 | Add option -I to use ICMP ECHO instead of UDP datagrams. | 920 | Add option -I to use ICMP ECHO instead of UDP datagrams. |