From ecfc54c4230527a0b9564db70dbb299a758a89fa Mon Sep 17 00:00:00 2001 From: Colby Ross Date: Sat, 15 Mar 2025 11:18:23 -0400 Subject: [PATCH] Fix dongle connection bug. --- QnetLink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetLink.cpp b/QnetLink.cpp index 613c652..9a1624c 100644 --- a/QnetLink.cpp +++ b/QnetLink.cpp @@ -2411,7 +2411,7 @@ void CQnetLink::ProcessREF(unsigned char *buf, const int length) printf("new CALL=%s, DONGLE-p, ip=%s, users=%d\n", inbound->call, ip.c_str(), (int)inbound_list.size()); buf[0] = 8; - memcpy(buf+4, "OKAY", 4); + memcpy(buf+4, "OKRW", 4); REFWrite(buf, 8, fromDst4); qnDB.UpdateLS(ip.c_str(), 'p', inbound->call, 'p', time(NULL));