Fix crash in cat

The router used the wrong capabilities and results weren't delivered as
complete and contiguous packets.
This commit is contained in:
Markus Mäkelä
2018-11-09 15:42:20 +02:00
parent 1108132cbd
commit 7e54cb8132
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ json_t* Cat::diagnostics_json() const
return NULL;
}
const uint64_t caps = RCAP_TYPE_STMT_OUTPUT | RCAP_TYPE_STMT_INPUT;
const uint64_t caps = RCAP_TYPE_PACKET_OUTPUT | RCAP_TYPE_CONTIGUOUS_OUTPUT | RCAP_TYPE_STMT_INPUT;
uint64_t Cat::getCapabilities()
{