mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
domains api + migration
This commit is contained in:
@@ -12,8 +12,9 @@ export class IpAddress {
|
||||
this.octets[octIdx++] = num & 255
|
||||
idx += 1
|
||||
}
|
||||
if (idx < 7) {
|
||||
idx = segs.length - 1
|
||||
const lastSegIdx = segs.length - 1
|
||||
if (idx < lastSegIdx) {
|
||||
idx = lastSegIdx
|
||||
octIdx = 15
|
||||
while (segs[idx]) {
|
||||
const num = parseInt(segs[idx], 16)
|
||||
|
||||
Reference in New Issue
Block a user