diff options
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Examples/NetworkTool/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Examples/NetworkTool/main.cpp b/Swiften/Examples/NetworkTool/main.cpp index ace38fd..00c12d2 100644 --- a/Swiften/Examples/NetworkTool/main.cpp +++ b/Swiften/Examples/NetworkTool/main.cpp @@ -30,7 +30,7 @@ void handleGetPublicIPRequestResponse(const boost::optional<HostAddress>& result void handleGetForwardPortRequestResponse(const boost::optional<NATPortMapping>& result) { if (result) { - std::cerr << "Result: " << result->publicPort << " -> " << result->localPort << std::endl;; + std::cerr << "Result: " << result->getPublicPort() << " -> " << result->getLocalPort() << std::endl;; } else { std::cerr << "No result" << std::endl; |