traceroute: cleanup and fixes for packet size calculations
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 28 Sep 2016 16:39:06 +0000 (18:39 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 28 Sep 2016 16:44:48 +0000 (18:44 +0200)
commit1c32e49bdf74dfe47cae108d06702996ead052f0
tree129680cd72ef41bb9a64a3ca0edd2634cf430d1c
parent61fcc8c78174f92fbdad0a7f86b5086619b05ed9
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>
configs/TEST_nommu_defconfig
configs/TEST_noprintf_defconfig
configs/TEST_rh9_defconfig
configs/android2_defconfig
configs/android_502_defconfig
configs/android_defconfig
configs/android_ndk_defconfig
configs/cygwin_defconfig
configs/freebsd_defconfig
networking/Config.src
networking/traceroute.c