CopyPasteError-Fix
All checks were successful
release-tag / release-image (push) Successful in 1m58s
All checks were successful
release-tag / release-image (push) Successful in 1m58s
This commit is contained in:
4
main.go
4
main.go
@@ -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})
|
||||
|
Reference in New Issue
Block a user