Fix the infinite recursion on network traffic handling.

This commit is contained in:
Jonathan Naylor 2023-01-01 21:11:19 +00:00
parent 2090432a6a
commit bb102fb082

View file

@ -970,7 +970,7 @@ void CM17Control::writeJSON(const char* action, RPT_NET_STATE state, const std::
nlohmann::json json; nlohmann::json json;
writeJSON(action, state, source, dest); writeJSON(json, action, state, source, dest);
WriteJSON("M17", json); WriteJSON("M17", json);
} }
@ -981,7 +981,7 @@ void CM17Control::writeJSON(const char* action, RPT_NET_STATE state, const std::
nlohmann::json json; nlohmann::json json;
writeJSON(action, state, source, dest); writeJSON(json, action, state, source, dest);
json["duration"] = duration; json["duration"] = duration;