diff --git a/cpp/devices/device_factory.cpp b/cpp/devices/device_factory.cpp index 85e978ed..92449ac5 100644 --- a/cpp/devices/device_factory.cpp +++ b/cpp/devices/device_factory.cpp @@ -36,10 +36,12 @@ DeviceFactory::DeviceFactory() string network_interfaces; for (const auto& network_interface : GetNetworkInterfaces()) { - if (!network_interfaces.empty()) { - network_interfaces += ","; + if (network_interface.rfind("dummy", 0) == string::npos) { + if (!network_interfaces.empty()) { + network_interfaces += ","; + } + network_interfaces += network_interface; } - network_interfaces += network_interface; } default_params[SCBR]["interface"] = network_interfaces;