Removed code for IPv6 from subnet mask APIs