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);