Skip to content

Update get_device_v6.sh#1

Open
483218131 wants to merge 1 commit intoKrisCris:mainfrom
483218131:main
Open

Update get_device_v6.sh#1
483218131 wants to merge 1 commit intoKrisCris:mainfrom
483218131:main

Conversation

@483218131
Copy link

原脚本可能会错误获取到私有IP地址,deepseek-r1进行了如下优化:

改进1:精确筛选公网IPv6(2000::/3)

改进2:验证是否为公网IP

改进3:更新日志前验证IP有效性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant