kopia lustrzana https://github.com/Hamlib/Hamlib
Fix Flex 127.0.0.1 error
rodzic
f5ad3c64bf
commit
8cc51f5ad7
|
@ -1075,9 +1075,12 @@ int HAMLIB_API rig_open(RIG *rig)
|
|||
|| rig->caps->rig_model == RIG_MODEL_SMARTSDR_H
|
||||
)
|
||||
{
|
||||
rig_debug_clear();
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: Do not use 127.0.0.1 for SmartSDR. Network Server entry needs to be the Radio's IP address, no port necessary\n", __func__);
|
||||
return -RIG_EINVAL;
|
||||
if (strstr(rp->pathname,"127.0.0.1"))
|
||||
{
|
||||
rig_debug_clear();
|
||||
rig_debug(RIG_DEBUG_ERR, "%s: Do not use 127.0.0.1 for SmartSDR. Network Server entry needs to be the Radio's IP address, no port necessary\n", __func__);
|
||||
return -RIG_EINVAL;
|
||||
}
|
||||
}
|
||||
if (RIG_BACKEND_NUM(rig->caps->rig_model) == RIG_ICOM)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue