mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
bug fix, branch one, upped the default time, some connections, like satellite, are super slow
This commit is contained in:
parent
75e4366817
commit
161ab937b7
2
inxi
2
inxi
|
@ -6658,7 +6658,7 @@ get_networking_wan_ip_data()
|
|||
# awk has bad regex handling so checking it with grep -E instead
|
||||
# ip=$( echo 2001:0db8:85a3:0000:0000:8a2e:0370:7334 | gawk --re-interval '
|
||||
# ip=$( wget -q -O - $WAN_IP_URL | gawk --re-interval '
|
||||
ip=$( wget -t 1 -T $WGET_TIMEOUT -q -O - $WAN_IP_URL | gawk --re-interval '
|
||||
ip=$( wget -t 4 -T $WGET_TIMEOUT -q -O - $WAN_IP_URL | gawk --re-interval '
|
||||
{
|
||||
#gsub("\n","",$2")
|
||||
print $NF
|
||||
|
|
Loading…
Reference in a new issue