mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-04 13:57:43 +00:00
Merge branch 'master' into IPv6
This commit is contained in:
commit
cef5ff8e31
17 changed files with 341 additions and 172 deletions
|
|
@ -187,7 +187,10 @@ int CYSFGateway::run()
|
|||
bool debug = m_conf.getNetworkDebug();
|
||||
sockaddr_storage rptAddr;
|
||||
unsigned int rptAddrLen;
|
||||
CUDPSocket::lookup(m_conf.getRptAddress(), m_conf.getRptPort(), rptAddr, rptAddrLen);
|
||||
if (CUDPSocket::lookup(m_conf.getRptAddress(), m_conf.getRptPort(), rptAddr, rptAddrLen) != 0) {
|
||||
::fprintf(stderr, "YSFGateway: cannot find the address of the MMDVM Host");
|
||||
return 1;
|
||||
}
|
||||
|
||||
std::string myAddress = m_conf.getMyAddress();
|
||||
unsigned int myPort = m_conf.getMyPort();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue