mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 15:09:23 +08:00
Reintroduce [NXDN Network]::Protocol config item, as it got deleted at some point.
Fix nullptr instead of NULL argument usage in getaddrinfo(). Bump version.
This commit is contained in:
2
Conf.cpp
2
Conf.cpp
@@ -993,6 +993,8 @@ bool CConf::read()
|
||||
} else if (section == SECTION::NXDN_NETWORK) {
|
||||
if (::strcmp(key, "Enable") == 0)
|
||||
m_nxdnNetworkEnabled = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "Protocol") == 0)
|
||||
m_nxdnNetworkProtocol = value;
|
||||
else if (::strcmp(key, "LocalAddress") == 0)
|
||||
m_nxdnLocalAddress = value;
|
||||
else if (::strcmp(key, "LocalPort") == 0)
|
||||
|
||||
Reference in New Issue
Block a user