From 80551731288a6abf9657e07e82d55a23bc5a970e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 13 Dec 2020 14:18:05 +0100 Subject: [PATCH] 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 --- networking/traceroute.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/networking/traceroute.c b/networking/traceroute.c index 1e96a73cf..8e13238bf 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;