diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2015-01-07 12:31:46 -0800 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2015-01-07 12:31:46 -0800 |
commit | 70a913e7b05cf361c8a8134f704cf483cca590ae (patch) | |
tree | 4b6744b6dfe5e7683aed25e1bdb6600353565def /host/lib/transport/nirio/rpc/rpc_client.cpp | |
parent | 2d3f3c6c0fde4eb8d4f9b19a1e15f253d361c38d (diff) | |
parent | f88b10d6b4824a8df5834414d684e5cca0544d3d (diff) | |
download | uhd-70a913e7b05cf361c8a8134f704cf483cca590ae.tar.gz uhd-70a913e7b05cf361c8a8134f704cf483cca590ae.tar.bz2 uhd-70a913e7b05cf361c8a8134f704cf483cca590ae.zip |
Merge pull request #653 from EttusResearch/bprumo/120bw
x300: support new 120 MHz bandwidth versions of the NI-branded X310s
Diffstat (limited to 'host/lib/transport/nirio/rpc/rpc_client.cpp')
-rw-r--r-- | host/lib/transport/nirio/rpc/rpc_client.cpp | 2 |
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); |