From 1c32e49bdf74dfe47cae108d06702996ead052f0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 28 Sep 2016 18:39:06 +0200 Subject: 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 --- networking/Config.src | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'networking/Config.src') 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 Add some verbosity to traceroute. This includes among other things hostnames and ICMP response types. -config FEATURE_TRACEROUTE_SOURCE_ROUTE - bool "Enable loose source route" - default n - depends on TRACEROUTE - help - Add option to specify a loose source route gateway - (8 maximum). - config FEATURE_TRACEROUTE_USE_ICMP - bool "Use ICMP instead of UDP" - default n + bool "Enable -I option (use ICMP instead of UDP)" + default y depends on TRACEROUTE help Add option -I to use ICMP ECHO instead of UDP datagrams. -- cgit v1.2.3