mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-06 01:48:37 +02:00
Message Filter: Fix filtering on NetID or NetType if message doesn't have one
This commit is contained in:
@@ -34,6 +34,8 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
if(!matchNetID(frame.network.getNetID()))
|
if(!matchNetID(frame.network.getNetID()))
|
||||||
return false;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user