Update ip
This commit is contained in:
parent
a77b5d1954
commit
d8dd815baa
1 changed files with 2 additions and 0 deletions
|
@ -295,7 +295,9 @@ func getZTIP(routes string) (ip, start, end, cidr string) {
|
||||||
for i := range startIP {
|
for i := range startIP {
|
||||||
endIP[i] |= ^ipNet.Mask[i]
|
endIP[i] |= ^ipNet.Mask[i]
|
||||||
}
|
}
|
||||||
|
startIP[3] = 1
|
||||||
start = startIP.String()
|
start = startIP.String()
|
||||||
|
endIP[3] = 254
|
||||||
end = endIP.String()
|
end = endIP.String()
|
||||||
ipt := ipNet
|
ipt := ipNet
|
||||||
ipt.IP[3] = 1
|
ipt.IP[3] = 1
|
||||||
|
|
Loading…
Reference in a new issue