mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
fixed bug when rx_hostname was an ip and using zmqsocket
This commit is contained in:
parent
cb008bb700
commit
ea875a14f9
@ -47,7 +47,7 @@ public:
|
||||
strcpy(ip, hostname_or_ip);
|
||||
|
||||
// construct address
|
||||
if (strchr (hostname_or_ip, '.') != NULL) {
|
||||
if (strchr (hostname_or_ip, '.') == NULL) {
|
||||
// convert hostname to ip
|
||||
char* ptr = ConvertHostnameToIp (hostname_or_ip);
|
||||
if (ptr == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user