Fix dongle connection bug. (#20)

link
Colby Ross 9 months ago committed by GitHub
parent d363e3ce80
commit 3e3a4d9c8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save

Powered by TurnKey Linux.