From 7081a85342a7113ea2983db2c6b346ff62ada24d Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Tue, 21 Mar 2023 12:23:45 -0400 Subject: [PATCH] fix incorrect command check; --- remote/RESTClientMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/RESTClientMain.cpp b/remote/RESTClientMain.cpp index 472b902f..0d68b174 100644 --- a/remote/RESTClientMain.cpp +++ b/remote/RESTClientMain.cpp @@ -646,7 +646,7 @@ int main(int argc, char** argv) retCode = client->send(HTTP_PUT, PUT_P25_RID, req); } - else if (rcom == RCD_P25_RID_UREG && argCnt >= 2U) { + else if (rcom == RCD_P25_RID_EMERG && argCnt >= 2U) { json::object req = json::object(); req["command"].set(std::string(RID_CMD_EMERG)); uint32_t dstId = getArgUInt32(args, 0U);