Skip to content

Commit

Permalink
removing useless func
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberRoute committed Jan 29, 2024
1 parent a5ae09c commit afc3a19
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/socksynscan6.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ var (
targetIP = flag.String("ip", "::1", "IP address to bind the web UI server to.")
)

func isValidIPv6(address string) bool {
ip := net.ParseIP(address)
return ip != nil && strings.Contains(address, ":") && ip.To4() == nil
}

func main() {

flag.Parse()
Expand Down

0 comments on commit afc3a19

Please sign in to comment.