CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
Update ip
LinkLeongd8dd815baaf4
diff --git a/route/v1/zerotier.go b/route/v1/zerotier.goindex d3d8f4f..741f3ae 100644--- a/route/v1/zerotier.go+++ b/route/v1/zerotier.go@@ -295,7 +295,9 @@ func getZTIP(routes string) (ip, start, end, cidr string) {for i := range startIP {endIP[i] |= ^ipNet.Mask[i]}+ startIP[3] = 1start = startIP.String()+ endIP[3] = 254end = endIP.String()ipt := ipNetipt.IP[3] = 1