right now is up to the user to set a correct IP address, no check at all. A good idea is to validate the content before settings a new ip. https://www.regular-expressions.info/ip.html