Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
net: ParseCIDR returns IP of size 16 and not 4 for IPv4 #38097
What version of Go are you using (
In general IPv4 address may be represented as IPv6.
You can: the way to do it is to check whether it's an IPv4 address or not (so see if
They do. The address you have is the right length to be an IP address.