trap-manager: Ignore acquires without selectors for wildcard traps

We need to know the actual destination address to process these.
This commit is contained in:
Tobias Brunner
2026-04-02 08:33:30 +02:00
parent 66fffdb1bf
commit 2a63343968
+8
View File
@@ -557,6 +557,14 @@ METHOD(trap_manager_t, acquire, void,
}
wildcard = found->wildcard;
if (wildcard && (!data->dst || !data->src))
{
DBG1(DBG_CFG, "unable to process acquire without selectors for "
"trap without destination address (reqid %u)", reqid);
this->lock->unlock(this->lock);
return;
}
this->mutex->lock(this->mutex);
if (wildcard)
{