aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio/rpc
diff options
context:
space:
mode:
authorBrooks <brooks@ni>2014-12-19 10:51:05 -0600
committerBrooks Prumo <brooks.prumo@ni.com>2014-12-22 16:54:25 -0600
commit2ce97f6c05f607846eb11e9799b5d5045049e747 (patch)
tree482d46e82819771dbb09e625f0a6d0cb930d66f7 /host/lib/transport/nirio/rpc
parent3c5fe0a201d78a8732aad31a71bf806e00c89db1 (diff)
downloaduhd-2ce97f6c05f607846eb11e9799b5d5045049e747.tar.gz
uhd-2ce97f6c05f607846eb11e9799b5d5045049e747.tar.bz2
uhd-2ce97f6c05f607846eb11e9799b5d5045049e747.zip
x300: support new 120 MHz bandwidth versions of the NI-branded X310s
Diffstat (limited to 'host/lib/transport/nirio/rpc')
-rw-r--r--host/lib/transport/nirio/rpc/rpc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/nirio/rpc/rpc_client.cpp b/host/lib/transport/nirio/rpc/rpc_client.cpp
index cf8e9c1a9..48f47cfae 100644
--- a/host/lib/transport/nirio/rpc/rpc_client.cpp
+++ b/host/lib/transport/nirio/rpc/rpc_client.cpp
@@ -52,7 +52,7 @@ rpc_client::rpc_client (
//- address_configured: Only return addresses if a non-loopback address is configured for the system.
//- numeric_host: No name resolution should be attempted for host
//- numeric_service: No name resolution should be attempted for service
- tcp::resolver::query::flags query_flags;
+ tcp::resolver::query::flags query_flags = tcp::resolver::query::passive;
tcp::resolver::query query(tcp::v4(), server, port, query_flags);
tcp::resolver::iterator iterator = resolver.resolve(query);