mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Decrease timeout
This commit is contained in:
parent
9c3c16665b
commit
17cee48fe7
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
multipathip=$(dig +short A multipath-tcp.org | tr -d "\n")
|
multipathip=$(dig +short A multipath-tcp.org | tr -d "\n")
|
||||||
ipset add ss_rules_dst_bypass_all $multipathip > /dev/null 2>&1
|
ipset add ss_rules_dst_bypass_all $multipathip > /dev/null 2>&1
|
||||||
curl -s -4 -m 3 --interface $1 http://www.multipath-tcp.org
|
curl -s -4 -m 2 --interface $1 http://www.multipath-tcp.org
|
||||||
ipset del ss_rules_dst_bypass_all $multipathip > /dev/null 2>&1
|
ipset del ss_rules_dst_bypass_all $multipathip > /dev/null 2>&1
|
||||||
|
|
Loading…
Reference in a new issue