CopyPasteError-Fix
All checks were successful
release-tag / release-image (push) Successful in 1m58s

This commit is contained in:
2025-05-09 11:17:49 +02:00
parent 33e99a7533
commit 1ffea42f26

View File

@@ -145,9 +145,9 @@ func handleRange(w http.ResponseWriter, r *http.Request) {
O3 = octets[2]
}
if len(octets[3]) < 2 {
O3 = "0" + octets[3]
O4 = "0" + octets[3]
} else {
O3 = octets[3]
O4 = octets[3]
}
N := "PC" + O3 + O4
d.Rows = append(d.Rows, addrPair{IPv4: b.IPv4, IPv6: b.IPv6, Name: N})