From c858986248f9ee86835be732f413824c0e42d729 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 25 Feb 2025 09:32:57 +0000 Subject: New upstream version 6.0.24.65+repack --- WinRPR.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'WinRPR.c') diff --git a/WinRPR.c b/WinRPR.c index af1a7fb..fd4fb94 100644 --- a/WinRPR.c +++ b/WinRPR.c @@ -795,7 +795,8 @@ void * WinRPRExtInit(EXTPORTDATA * PortEntry) WritetoConsoleLocal(msg); TNC->Port = port; - TNC->Hardware = H_WINRPR; + TNC->PortRecord = PortEntry; + TNC->PortRecord->PORTCONTROL.HWType = TNC->Hardware = H_WINRPR; // Set up DED addresses for streams @@ -811,8 +812,6 @@ void * WinRPRExtInit(EXTPORTDATA * PortEntry) PortEntry->PERMITGATEWAY = TRUE; // Can change ax.25 call on each stream PortEntry->SCANCAPABILITIES = NONE; // Scan Control 3 stage/conlock - TNC->PortRecord = PortEntry; - if (PortEntry->PORTCONTROL.PORTCALL[0] == 0) memcpy(TNC->NodeCall, MYNODECALL, 10); else -- cgit v1.2.3