|
|
|
@ -175,7 +175,7 @@ func RingOneAddress(zoneID, nodeID int) (netip.Addr, bool) {
|
|
|
|
|
case !ValidZoneID(zoneID) || !ValidNodeID(nodeID): |
|
|
|
|
return netip.Addr{}, false |
|
|
|
|
default: |
|
|
|
|
a4 := [4]uint8{10, 0, uint8(zoneID << 4), uint8(nodeID)} |
|
|
|
|
a4 := [4]uint8{10, uint8(zoneID << 4), 0, uint8(nodeID)} |
|
|
|
|
return netip.AddrFrom4(a4), true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|