domains api + migration

This commit is contained in:
Aiden McClelland
2025-08-06 14:29:35 -06:00
parent ea12251a7e
commit d6dfaf8feb
39 changed files with 496 additions and 87 deletions

View File

@@ -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)