mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-02 19:34:39 +02:00
Fix the infinite recursion on network traffic handling.
This commit is contained in:
parent
2090432a6a
commit
bb102fb082
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue