fix typo in error log message
This commit is contained in:
parent
96191cac83
commit
9bb840d611
2
main.go
2
main.go
@ -83,7 +83,7 @@ func downloadAddressList(url string) ([]string, error) {
|
|||||||
line := scanner.Text()
|
line := scanner.Text()
|
||||||
_, ipnet, err := net.ParseCIDR(line)
|
_, ipnet, err := net.ParseCIDR(line)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("skippine line: failed to parse line '%s' to cidr: %v", line, err)
|
log.Printf("skipping line: failed to parse line '%s' to cidr: %v", line, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
v4Addresses = append(v4Addresses, ipnet.String())
|
v4Addresses = append(v4Addresses, ipnet.String())
|
||||||
|
Loading…
Reference in New Issue
Block a user