We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33661cf commit 7f611edCopy full SHA for 7f611ed
src/interface_monitor_linux.cpp
@@ -226,9 +226,9 @@ class InterfaceMonitorImpl : public InterfaceMonitor {
226
if (auto it = knownIfaces.find(iface.index); it == knownIfaces.end()) {
227
if (auto flagsRes = ioctlSocket<GetInterfaceFlags>(m_socket, iface.name)) {
228
auto flags = flagsRes.assume_value();
229
- ignore = !(interfaceFlags & IFF_MULTICAST);
+ ignore = !(flags & IFF_MULTICAST);
230
if (!ignore && !m_config->enableLoopback()) {
231
- ignore = (interfaceFlags & IFF_LOOPBACK);
+ ignore = (flags & IFF_LOOPBACK);
232
}
233
knownIfaces[iface.index] = ignore;
234
} else {
0 commit comments