- parsing notify messge

- tested
This commit is contained in:
Martin Willi committed 2005-11-15 16:18:02 +00:00
1 parent 2a489f333d
commit cb4f26c5fe
5 files changed
+69

No files matched your search

+10
View File
@@ -750,6 +750,16 @@ static status_t parse_payload(private_parser_t *this, payload_type_t payload_typ
}
break;
}
case NOTIFICATION_DATA:
{
size_t notify_length = payload_length - 8 - spi_size;
if (this->parse_chunk(this, rule_number, output + rule->offset, notify_length) != SUCCESS)
{
pld->destroy(pld);
return PARSE_ERROR;
}
break;
}
default:
{
this->logger->log(this->logger, ERROR, " no rule to parse rule %d %s (%d)", rule_number, mapping_find(encoding_type_t_mappings, rule->type), rule->type);