From a768f385b299c5fba95dc0c6043f24d35242c332 Mon Sep 17 00:00:00 2001 From: cmuhammedrafi Date: Thu, 19 Dec 2024 13:56:48 +0000 Subject: [PATCH] SERXIONE-6805 Box reboots with reboot reason MAINTENANCE_REBOOT, when the box is in Active Standby --- NetworkManagerImplementation.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NetworkManagerImplementation.cpp b/NetworkManagerImplementation.cpp index f08fe09..74fbaba 100644 --- a/NetworkManagerImplementation.cpp +++ b/NetworkManagerImplementation.cpp @@ -598,6 +598,12 @@ namespace WPEFramework { _notificationLock.Lock(); NMLOG_INFO("Posting onActiveInterfaceChange %s", currentActiveinterface.c_str()); + + if(currentActiveinterface == "eth0") + m_ethConnected = true; + else if (currentActiveinterface == "wlan0") + m_wlanConnected = true; + for (const auto callback : _notificationCallbacks) { callback->onActiveInterfaceChange(prevActiveInterface, currentActiveinterface); }