Skip to content

Commit

Permalink
include passive with new def in read+write
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Oct 1, 2024
1 parent 981b267 commit 441a3f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ebusd/mainloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ result_t MainLoop::executeRead(const vector<string>& args, const string& levels,
return RESULT_OK;
}
deque<Message*> messages;
m_newlyDefinedMessages->findAll("", "", levels, false, true, writeDirection, false, true, false, 0, 0, false, &messages);
m_newlyDefinedMessages->findAll("", "", levels, false, true, writeDirection, writeDirection, true, false, 0, 0, false, &messages);
if (messages.empty()) {
*ostream << "ERR: bad definition: no read" << (writeDirection?"/write":"") << " message";
return RESULT_OK;
Expand Down Expand Up @@ -1086,7 +1086,7 @@ result_t MainLoop::executeWrite(const vector<string>& args, const string levels,
return RESULT_OK;
}
deque<Message*> messages;
m_newlyDefinedMessages->findAll("", "", levels, false, false, true, false, true, false, 0, 0, false, &messages);
m_newlyDefinedMessages->findAll("", "", levels, false, false, true, true, true, false, 0, 0, false, &messages);
if (messages.empty()) {
*ostream << "ERR: bad definition: no write message";
return RESULT_OK;
Expand Down

0 comments on commit 441a3f6

Please sign in to comment.