ip type changed from uint32_t to IPAddress - ip optional