Michael Black W9MDB 2020-06-22 07:48:09 -05:00
rodzic f7f9653b97
commit fd1e72f009
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1386,7 +1386,7 @@ int HAMLIB_API parse_hoststr(char *hoststr, char host[256], char port[6])
// Handle device names 1st
if (strstr(hoststr, "/dev")) return -1;
if (strncasecmp(hoststr, "com", 3)) return -1;
if (strncasecmp(hoststr, "com", 3)==0) return -1;
// bracketed IPV6 with optional port
int n = sscanf(hoststr, "[%255[^]]]:%5s", host, port);