aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.cpp b/peer.cpp
index 821aab51..a99ce720 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -46,7 +46,7 @@ int peerTest(int argc, char** argv)
remoteHost = argv[i];
}
- Host ph("Test", listenPort);
+ Host ph("Test", NetworkPreferences(listenPort));
if (!remoteHost.empty())
ph.connect(remoteHost, remotePort);