mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Avoid using hostname localhost as some systems don't resolve it
Windows systems sometimes don't have localhost defined in the hosts file so use the IP address 127.0.0.1 instead. Merged from the wsjtx-1.5 branch git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5326 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
9d0b7a37c2
commit
c35478dc90
@ -1197,7 +1197,7 @@ void Configuration::impl::read_settings ()
|
|||||||
decode_at_52s_ = settings_->value("Decode52",false).toBool ();
|
decode_at_52s_ = settings_->value("Decode52",false).toBool ();
|
||||||
rig_params_.poll_interval = settings_->value ("Polling", 0).toInt ();
|
rig_params_.poll_interval = settings_->value ("Polling", 0).toInt ();
|
||||||
rig_params_.split_mode = settings_->value ("SplitMode", QVariant::fromValue (TransceiverFactory::split_mode_none)).value<TransceiverFactory::SplitMode> ();
|
rig_params_.split_mode = settings_->value ("SplitMode", QVariant::fromValue (TransceiverFactory::split_mode_none)).value<TransceiverFactory::SplitMode> ();
|
||||||
udp_server_name_ = settings_->value ("UDPServer", "localhost").toString ();
|
udp_server_name_ = settings_->value ("UDPServer", "127.0.0.1").toString ();
|
||||||
udp_server_port_ = settings_->value ("UDPServerPort", 2237).toUInt ();
|
udp_server_port_ = settings_->value ("UDPServerPort", 2237).toUInt ();
|
||||||
accept_udp_requests_ = settings_->value ("AcceptUDPRequests", false).toBool ();
|
accept_udp_requests_ = settings_->value ("AcceptUDPRequests", false).toBool ();
|
||||||
udpWindowToFront_ = settings_->value ("udpWindowToFront",false).toBool ();
|
udpWindowToFront_ = settings_->value ("udpWindowToFront",false).toBool ();
|
||||||
|
@ -21,7 +21,7 @@ namespace
|
|||||||
|
|
||||||
void HRDTransceiver::register_transceivers (TransceiverFactory::Transceivers * registry, int id)
|
void HRDTransceiver::register_transceivers (TransceiverFactory::Transceivers * registry, int id)
|
||||||
{
|
{
|
||||||
(*registry)[HRD_transceiver_name] = TransceiverFactory::Capabilities (id, TransceiverFactory::Capabilities::network, "localhost:7809", true);
|
(*registry)[HRD_transceiver_name] = TransceiverFactory::Capabilities (id, TransceiverFactory::Capabilities::network, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct HRDMessage
|
struct HRDMessage
|
||||||
|
Loading…
Reference in New Issue
Block a user