This is an automated email from the ASF dual-hosted git repository.

arina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git

commit 7535ed9b90165a4745fce066fb8bff4018a32461
Author: Arjun Gupta <arjuntheprogram...@gmail.com>
AuthorDate: Wed Sep 18 11:13:44 2019 +0530

    DRILL-7374: Support for IPV6 address
    
    closes #1857
---
 contrib/native/client/src/clientlib/channel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/native/client/src/clientlib/channel.cpp 
b/contrib/native/client/src/clientlib/channel.cpp
index 3af17d6..5e96388 100644
--- a/contrib/native/client/src/clientlib/channel.cpp
+++ b/contrib/native/client/src/clientlib/channel.cpp
@@ -308,7 +308,7 @@ connectionStatus_t Channel::connectInternal() {
     const char *port = m_pEndpoint->getPort().c_str();
     try {
         tcp::resolver resolver(m_ioService);
-        tcp::resolver::query query(tcp::v4(), host, port);
+        tcp::resolver::query query(host, port);
         tcp::resolver::iterator iter = resolver.resolve(query);
         tcp::resolver::iterator end;
         while (iter != end) {

Reply via email to