diff --git a/README.md b/README.md index 7aca990..db708fe 100644 --- a/README.md +++ b/README.md @@ -96,4 +96,4 @@ echo "arDdnsCheck test.org subdomain" >> ./ardnspod # 共同维护者 -请参阅 +请参阅 diff --git a/ardnspod b/ardnspod index db6bd30..deb9b60 100644 --- a/ardnspod +++ b/ardnspod @@ -9,7 +9,7 @@ # Author: Rehiy, https://github.com/rehiy # https://www.rehiy.com/?s=dnspod # -# Collaborators: ProfFan, https://github.com/ProfFan +# Collaborators: https://github.com/rehiy/dnspod-shell/graphs/contributors # # Usage: please refer to `ddnspod.sh` # @@ -102,8 +102,6 @@ arWanIp4() { local hostIp local lanIps=$(arLanIp4) - local agent="AnripDdns/6.2.0(wang@rehiy.com)" - case $(uname) in 'Linux') hostIp=$(ip -o -4 route get 100.64.0.1 | grep -oE 'src [0-9\.]+' | awk '{print $2}' | grep -Ev "$lanIps")