From 89fe931abe154f391689d0668bd9022f018855c9 Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Mon, 13 Apr 2020 01:54:46 +0800 Subject: [PATCH] Stop tracing 255 hops --- proxy/traceroute.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proxy/traceroute.go b/proxy/traceroute.go index de7054a..ec291ac 100644 --- a/proxy/traceroute.go +++ b/proxy/traceroute.go @@ -96,8 +96,8 @@ func tracerouteRealHandler(useIPv6 bool, httpW http.ResponseWriter, httpR *http. "busybox", }, [][]string{ - {"-6", "-q1", "-N32", "-w1", "-m255", query}, - {"-4", "-q1", "-N32", "-w1", "-m255", query}, + {"-6", "-q1", "-N32", "-w1", query}, + {"-4", "-q1", "-N32", "-w1", query}, {"traceroute", "-6", "-q1", "-w1", query}, {"traceroute", "-4", "-q1", "-w1", query}, }, @@ -111,8 +111,8 @@ func tracerouteRealHandler(useIPv6 bool, httpW http.ResponseWriter, httpR *http. "busybox", }, [][]string{ - {"-4", "-q1", "-N32", "-w1", "-m255", query}, - {"-6", "-q1", "-N32", "-w1", "-m255", query}, + {"-4", "-q1", "-N32", "-w1", query}, + {"-6", "-q1", "-N32", "-w1", query}, {"traceroute", "-4", "-q1", "-w1", query}, {"traceroute", "-6", "-q1", "-w1", query}, },