mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Merge branch 'SimpleDMR' into AX25_FM
This commit is contained in:
commit
98b1e6478b
25 changed files with 519 additions and 386 deletions
|
|
@ -359,10 +359,13 @@ int CMMDVMHost::run()
|
|||
LogInfo(" Local Port: %u", localPort);
|
||||
LogInfo(" Send Frame Type: %u", sendFrameType);
|
||||
|
||||
CUDPSocket::lookup(remoteAddress, remotePort, transparentAddress, transparentAddrLen);
|
||||
if (CUDPSocket::lookup(remoteAddress, remotePort, transparentAddress, transparentAddrLen) != 0) {
|
||||
LogError("Unable to resolve the address of the Transparent Data source");
|
||||
return 1;
|
||||
}
|
||||
|
||||
transparentSocket = new CUDPSocket(localPort);
|
||||
ret = transparentSocket->open(transparentAddress.ss_family);
|
||||
ret = transparentSocket->open(transparentAddress);
|
||||
if (!ret) {
|
||||
LogWarning("Could not open the Transparent data socket, disabling");
|
||||
delete transparentSocket;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue