mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 12:33:40 +01:00
fixed bug when rx_hostname was an ip and using zmqsocket
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user