Message Filter: Fix filtering on NetID or NetType if message doesn't have one

This commit is contained in:
Paul Hollinsky
2022-04-15 21:35:40 -04:00
parent c398afc4e3
commit a2cfc50b7c
@@ -34,6 +34,8 @@ public:
return false;
if(!matchNetID(frame.network.getNetID()))
return false;
} else if (netid != Network::NetID::Any || networkType != Network::Type::Any) {
return false; // Filtering on a NetID or Type, but this message doesn't have one
}
return true;
}