Closed TimothyYe closed 4 years ago
utils.go 文件中的101行左右, GetIPFromInterface 方法:
if !isIPv4(ip.String()) { continue }
这三行需要去掉了 原本这个和上面被注释的if 是互相替换的。现在依然保留这个代码会导致 GetIPFromInterface 不支持 IPv6,直接去掉这三行即可。
@SadPencil 谢谢
utils.go 文件中的101行左右, GetIPFromInterface 方法:
这三行需要去掉了 原本这个和上面被注释的if 是互相替换的。现在依然保留这个代码会导致 GetIPFromInterface 不支持 IPv6,直接去掉这三行即可。