diff options
author | Denys Vlasenko | 2020-12-13 14:18:05 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-12-13 14:18:05 +0100 |
commit | 80551731288a6abf9657e07e82d55a23bc5a970e (patch) | |
tree | 99baf241dd8b7820b22190ca7245da68396c6fb1 /networking/traceroute.c | |
parent | 724c7df683b8f3d0c487ce3d3cdcc1f6e762c181 (diff) | |
download | busybox-80551731288a6abf9657e07e82d55a23bc5a970e.zip busybox-80551731288a6abf9657e07e82d55a23bc5a970e.tar.gz |
traceroute: don't set SO_DONTROUTE on recv socket, it only affects send
function old new delta
traceroute_init 1147 1131 -16
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r-- | networking/traceroute.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index 1e96a73..8e13238 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -934,13 +934,10 @@ traceroute_init(int op, char **argv) setsockopt_1(rcvsock, SOL_IPV6, IPV6_RECVPKTINFO); } #endif - #if TRACEROUTE_SO_DEBUG if (op & OPT_DEBUG) setsockopt_SOL_SOCKET_1(rcvsock, SO_DEBUG); #endif - if (op & OPT_BYPASS_ROUTE) - setsockopt_SOL_SOCKET_1(rcvsock, SO_DONTROUTE); { int snd; |