diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2023-03-02 09:33:47 +0000 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2023-03-02 09:33:47 +0000 |
| commit | 39da8ffc5254acec7b9ce51f50b5b0e783dc7b7d (patch) | |
| tree | b3ed0f85281dcc09cfdd2c3a85bb0cf2404f07d1 /UZ7HODrv.c | |
| parent | c32ef4ee1e742d14161b348d62f2c674a1a289e6 (diff) | |
6.0.23.5123.55
Diffstat (limited to 'UZ7HODrv.c')
| -rw-r--r-- | UZ7HODrv.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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);
+ }
}
}
}
|
