Skip to content

Commit 7f611ed

Browse files
committed
linux fixes
1 parent 33661cf commit 7f611ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interface_monitor_linux.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ class InterfaceMonitorImpl : public InterfaceMonitor {
226226
if (auto it = knownIfaces.find(iface.index); it == knownIfaces.end()) {
227227
if (auto flagsRes = ioctlSocket<GetInterfaceFlags>(m_socket, iface.name)) {
228228
auto flags = flagsRes.assume_value();
229-
ignore = !(interfaceFlags & IFF_MULTICAST);
229+
ignore = !(flags & IFF_MULTICAST);
230230
if (!ignore && !m_config->enableLoopback()) {
231-
ignore = (interfaceFlags & IFF_LOOPBACK);
231+
ignore = (flags & IFF_LOOPBACK);
232232
}
233233
knownIfaces[iface.index] = ignore;
234234
} else {

0 commit comments

Comments
 (0)