Skip to content

Commit

Permalink
Fix checkACL
Browse files Browse the repository at this point in the history
  • Loading branch information
ozraru authored Nov 25, 2023
1 parent f2339bf commit ab9413a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ func checkACL(rawAddr string) bool {
}

ip := net.ParseIP(rawAddr)
acl := []*net.IPNet{}
for _, v := range acl {
if v.Contains(ip) {
return true
Expand Down

0 comments on commit ab9413a

Please sign in to comment.