You've already forked CasaOS
mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-07-15 23:54:17 +02:00
Update ip
This commit is contained in:
@ -295,7 +295,9 @@ func getZTIP(routes string) (ip, start, end, cidr string) {
|
||||
for i := range startIP {
|
||||
endIP[i] |= ^ipNet.Mask[i]
|
||||
}
|
||||
startIP[3] = 1
|
||||
start = startIP.String()
|
||||
endIP[3] = 254
|
||||
end = endIP.String()
|
||||
ipt := ipNet
|
||||
ipt.IP[3] = 1
|
||||
|
Reference in New Issue
Block a user