Allow user to specify IP address format