diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 35575ecd..03d86dc4 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -4425,7 +4425,7 @@ 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 "; + std::string cmd = "/system/xbin/su root /system/bin/ip link set "; cmd += m_network->iface; cmd += " down"; int resCode = ExecuteCommand(cmd);