mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix speedtestv6*
This commit is contained in:
parent
458603e683
commit
45d754d454
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ trap : HUP INT TERM
|
||||||
if [ -z "$INTERFACE" ]; then
|
if [ -z "$INTERFACE" ]; then
|
||||||
curl -6 http://$HOST/files/10Gio.dat >/dev/null || echo
|
curl -6 http://$HOST/files/10Gio.dat >/dev/null || echo
|
||||||
else
|
else
|
||||||
hostip=$(dig +short A $HOST | tr -d "\n")
|
hostip=$(dig +short AAAA $HOST | tr -d "\n")
|
||||||
ipset add ss_rules6_dst_bypass_all $hostip
|
ipset add ss_rules6_dst_bypass_all $hostip
|
||||||
curl -6 --interface $INTERFACE http://$HOST/files/10Gio.dat >/dev/null || echo
|
curl -6 --interface $INTERFACE http://$HOST/files/10Gio.dat >/dev/null || echo
|
||||||
ipset del ss_rules6_dst_bypass_all $hostip
|
ipset del ss_rules6_dst_bypass_all $hostip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue