Remove the network mask from the address and discard IPv6 addresses