diff --git a/src/cscore_cpp.cpp b/src/cscore_cpp.cpp index 8ad0f5e096..6fa05a2e04 100644 --- a/src/cscore_cpp.cpp +++ b/src/cscore_cpp.cpp @@ -491,6 +491,8 @@ CS_Listener AddListener(std::function callback, if ((eventMask & CS_NETWORK_INTERFACES_CHANGED) != 0) { // start network interface event listener NetworkListener::GetInstance().Start(); + if (immediateNotify) + Notifier::GetInstance().NotifyNetworkInterfacesChanged(); } if (immediateNotify) { // TODO