Merge pull request #1746 from minrk/allow-underscore-dns

This commit is contained in:
Constantin Rack 2016-01-30 22:23:09 +01:00
commit 4f4e475331

View File

@ -845,8 +845,10 @@ int zmq::socket_base_t::connect (const char *addr_)
while (isalnum (*check)
|| isxdigit (*check)
|| *check == '.' || *check == '-' || *check == ':' || *check == '%'
|| *check == ';' || *check == ']')
|| *check == ';' || *check == ']' || *check == '_'
) {
check++;
}
}
// Assume the worst, now look for success
rc = -1;