summaryrefslogtreecommitdiff
path: root/UZ7HODrv.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2023-03-02 09:33:47 +0000
committerJohn Wiseman <john.wiseman@cantab.net>2023-03-02 09:33:47 +0000
commit39da8ffc5254acec7b9ce51f50b5b0e783dc7b7d (patch)
treeb3ed0f85281dcc09cfdd2c3a85bb0cf2404f07d1 /UZ7HODrv.c
parentc32ef4ee1e742d14161b348d62f2c674a1a289e6 (diff)
6.0.23.5123.55
Diffstat (limited to 'UZ7HODrv.c')
-rw-r--r--UZ7HODrv.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/UZ7HODrv.c b/UZ7HODrv.c
index d17e409..0f8e6b9 100644
--- a/UZ7HODrv.c
+++ b/UZ7HODrv.c
@@ -266,6 +266,19 @@ void RegisterAPPLCalls(struct TNCINFO * TNC, BOOL Unregister)
memset(AGW->TXHeader.callfrom, 0, 10);
strcpy(AGW->TXHeader.callfrom, Appl);
send(TNC->TCPSock,(const char FAR *)&AGW->TXHeader,AGWHDDRLEN,0);
+
+ memcpy(Appl, APPL->APPLALIAS_TEXT, 10);
+ ptr=strchr(Appl, ' ');
+
+ if (ptr)
+ *ptr = 0;
+
+ if (Appl[0])
+ {
+ memset(AGW->TXHeader.callfrom, 0, 10);
+ strcpy(AGW->TXHeader.callfrom, Appl);
+ send(TNC->TCPSock,(const char FAR *)&AGW->TXHeader,AGWHDDRLEN,0);
+ }
}
}
}