Misc. Ubuntu fixes.

This commit is contained in:
Robin E. R. Davies
2024-11-23 12:49:43 -05:00
parent b64c86af04
commit e79589e009
9 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ void HotspotManagerImpl::onStartMonitoring()
ethernetDevice = GetDevice(NM_DEVICE_TYPE_ETHERNET);
if (!ethernetDevice)
{
throw std::runtime_error("eth0 device not found.");
throw std::runtime_error("ethernet device not found.");
}
this->ethernetDevice->OnStateChanged.add(
[this](uint32_t, uint32_t, uint32_t)