From 2e3f3608ad1b76ed5b406dfdc2996d625ec3d5c0 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Tue, 3 Dec 2024 09:28:58 -0700 Subject: [PATCH] dcs link qndb bug --- Makefile | 1 - QnetLink.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cb2fcdb..f125a77 100644 --- a/Makefile +++ b/Makefile @@ -202,7 +202,6 @@ installdtmf : qndtmf systemctl start qndtmf.service installdash : index.php - /usr/bin/apt update mkdir -p $(WWWDIR) /bin/rm -f $(WWWDIR)/* /bin/ln -f -s $(shell pwd)/index.php $(shell pwd)/dashboardV2 $(WWWDIR) diff --git a/QnetLink.cpp b/QnetLink.cpp index b12a935..b85ad3e 100644 --- a/QnetLink.cpp +++ b/QnetLink.cpp @@ -1831,7 +1831,7 @@ void CQnetLink::ProcessDCS(unsigned char *dcs_buf, const int length) to_remote_g2[i].is_connected = true; printf("Connected from: %.*s\n", 8, to_remote_g2[i].cs); - qnDB.UpdateLS(to_remote_g2[i].addr.GetAddress(), to_remote_g2[i].from_mod, to_remote_g2[i].cs, to_remote_g2[i].from_mod, tracing[i].last_time); + qnDB.UpdateLS(to_remote_g2[i].addr.GetAddress(), to_remote_g2[i].from_mod, to_remote_g2[i].cs, to_remote_g2[i].to_mod, tracing[i].last_time); char linked_remote_system[CALL_SIZE + 1]; strcpy(linked_remote_system, to_remote_g2[i].cs);