proto bug: client search requests incorrectly set Server direction

This commit is contained in:
Michael Davidsaver
2020-12-18 14:04:36 -08:00
parent 6dbfd87acb
commit b8d204e35c
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -697,7 +697,7 @@ void Context::Pvt::tickSearch()
auto consumed = M.save() - searchMsg.data();
{
FixedBuf H(true, searchMsg.data(), 8);
to_wire(H, Header{CMD_SEARCH, pva_flags::Server, uint32_t(consumed-8u)});
to_wire(H, Header{CMD_SEARCH, 0, uint32_t(consumed-8u)});
}
for(auto& pair : searchDest) {
*pflags = pair.second ? 0x80 : 0x00;