summaryrefslogtreecommitdiff
path: root/UZ7HODrv.c
diff options
context:
space:
mode:
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);
+ }
}
}
}