ESP_LOGI(TAG_XLI, "ETHIP start");
tcpip_adapter_ip_info_t ip;
memset(&ip, 0, sizeof(tcpip_adapter_ip_info_t));
if (tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_ETH, &ip) == 0) {
ESP_LOGI(TAG_XLI, "~~~~~~~~~~~");
ESP_LOGI(TAG_XLI, "ETHIP:" IPSTR, IP2STR(&ip.ip));
ESP_LOGI(TAG_XLI, "ETHPMASK:" IPSTR, IP2STR(&ip.netmask));
ESP_LOGI(TAG_XLI, "ETHPGW:" IPSTR, IP2STR(&ip.gw));
ESP_LOGI(TAG_XLI, "~~~~~~~~~~~");
}