Skip to content

Commit

Permalink
typo null -> nil
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jun 14, 2022
1 parent 8eacba9 commit aba61fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ var privateIPBlocks []*net.IPNet

func isRoutableIP(ipStr string) bool {
ip := net.ParseIP(ipStr)
if ip == null {
if ip == nil {
return false
}

Expand Down

0 comments on commit aba61fe

Please sign in to comment.