Implemented IP address format constraints.