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

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

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