payload: Use common prefixes for all payload type identifiers
The old identifiers did not use a proper namespace and often clashed with other defines.
This commit is contained in:
@@ -43,8 +43,8 @@ METHOD(listener_t, message, bool,
|
||||
enumerator = message->create_payload_enumerator(message);
|
||||
while (enumerator->enumerate(enumerator, &payload))
|
||||
{
|
||||
if (payload->get_type(payload) == TRAFFIC_SELECTOR_INITIATOR ||
|
||||
payload->get_type(payload) == TRAFFIC_SELECTOR_RESPONDER)
|
||||
if (payload->get_type(payload) == PLV2_TS_INITIATOR ||
|
||||
payload->get_type(payload) == PLV2_TS_RESPONDER)
|
||||
{
|
||||
ts = (ts_payload_t*)payload;
|
||||
host_t *from, *to;
|
||||
|
||||
Reference in New Issue
Block a user