Commit 4f4e4753 authored by Constantin Rack's avatar Constantin Rack

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

parents add4e767 cdec4dc9
......@@ -845,9 +845,11 @@ 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;
// Did we reach the end of the address safely?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment