Skip to content

Commit

Permalink
s360 issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyufan2 committed Dec 4, 2023
1 parent 7903f6c commit 67abcd4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cns/restserver/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,9 +798,6 @@ func isPrivateIP(ip net.IP) bool {
"172.16.0.0/12", // RFC1918
"192.168.0.0/16", // RFC1918
"169.254.0.0/16", // RFC3927 link-local
"::1/128", // IPv6 loopback
"fe80::/10", // IPv6 link-local
"fc00::/7", // IPv6 unique local addr
} {
_, block, err := net.ParseCIDR(cidr)
if err != nil {
Expand Down

0 comments on commit 67abcd4

Please sign in to comment.