diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 9388288f..e3a4a25d 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -4421,10 +4421,13 @@ int CPhoneDevice::ExecuteCommand(const std::string& cmd) void CPhoneDevice::ShutdownEthernet() { + XYLOG(XYLOG_SEVERITY_DEBUG, "Make Ethernet Down"); std::string cmd = "/system/xbin/su root ifconfig "; cmd += m_network->iface; cmd += " down"; - ExecuteCommand(cmd); + int resCode = ExecuteCommand(cmd); + XYLOG(XYLOG_SEVERITY_DEBUG, "Ethernet is Down %d", resCode); + // const char* args[] = {"root", "ifconfig", m_network->iface.c_str(), "down", NULL}; #if 0