fixed endianity for ipv4 cidr masks