loyess / Shell

Shadowsocks with plugins one-click installation. e.g. v2ray-plugin, kcptun, simple-obfs, goquiet, cloak, mos-tls-tunnel, rabbit-tcp, simple-tls, gost-plugin, xray-plugin, qtun, gun
790 stars 359 forks source link

fix get_domain_ip #29

Closed cybort closed 4 years ago

cybort commented 4 years ago

Specify IPv4

loyess commented 4 years ago

单纯的指定一个-4参数不行,一些旧版本的ping 命令并没-4参数(如:CentOS6),它的IPv4 ➡️ping 和 IPv6➡️ ping6.

我修复了下,先这么处理吧!

cybort commented 4 years ago

ok