From: Johannes Truschnigg Date: Sat, 3 Sep 2022 11:14:52 +0000 (+0200) Subject: Remove broken PING_GW_IPV[46] feature X-Git-Url: https://johannes.truschnigg.info/gitweb/?a=commitdiff_plain;h=ed83116c441d0795ece1d381319e5853d8ed8c3e;p=sqm_lagthrottle Remove broken PING_GW_IPV[46] feature --- diff --git a/sqm_lagthrottle.sh b/sqm_lagthrottle.sh index de083e6..ad274df 100755 --- a/sqm_lagthrottle.sh +++ b/sqm_lagthrottle.sh @@ -40,8 +40,6 @@ OPTIMIZATION_PREFERENCE="latency" # try to optimize for either "latency" (i.e., PING_SLOTS_PER_PEER=5 # number of samples per PING_PEER to calculate averages over PING_INTERVAL=300 # interval in msec to emit ICMP ECHO towards each PING_PEER THRESHOLD=1.2 # factor relevant in judging current latency compared to avg. - leave it at 1.2 -PING_GW_IPV4=no # do not use - broken -PING_GW_IPV6=no # do not use - broken @@ -123,18 +121,6 @@ then fi -if [ x"${PING_GW_IPV6:-no}" = xyes ] -then - PING_PEERS="$(traceroute -6 -n -m 2001:4860:4860::8888 | awk '{if("1" == $1){print $2}}') ${PING_PEERS}" -fi - - -if [ x"${PING_GW_IPV4:-no}" = xyes ] -then - PING_PEERS="$(traceroute -4 -n -m 1 8.8.8.8 | awk '{if("1" == $1){print $2}}') ${PING_PEERS}" -fi - - if ! __is_num "${THRESHOLD}" then printf 'FATAL: Invalid value for THRESHOLD\n' >&2