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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user