summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows/SystemInfo.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-11-16 14:27:34 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-11-16 14:27:34 +0000
commit69d09a9077237a2c51cfb8e85544c9f5f79a1a66 (patch)
tree2c4a114c4b960df1e335006142ce7187d17cfa83 /cpp/src/qpid/sys/windows/SystemInfo.cpp
parent8228f17dce73eca6d26d6a4eeb2d7ebd1d7a741c (diff)
downloadqpid-python-69d09a9077237a2c51cfb8e85544c9f5f79a1a66.tar.gz
QPID-3351: Provide ability to specify the network interfaces
Made this work on windows too: - Caveat is that you can't specify interface name currently only interface address git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1410366 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows/SystemInfo.cpp')
-rwxr-xr-xcpp/src/qpid/sys/windows/SystemInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/sys/windows/SystemInfo.cpp b/cpp/src/qpid/sys/windows/SystemInfo.cpp
index 282bbb7e24..b3de8d947e 100755
--- a/cpp/src/qpid/sys/windows/SystemInfo.cpp
+++ b/cpp/src/qpid/sys/windows/SystemInfo.cpp
@@ -96,10 +96,10 @@ void SystemInfo::getLocalIpAddresses (uint16_t port,
}
}
-bool SystemInfo::isLocalHost(const std::string& candidateHost) {
- // FIXME aconway 2012-05-03: not implemented.
- assert(0);
- throw Exception("Not implemented: isLocalHost");
+// Null function which always fails to find an network interface name
+bool SystemInfo::getInterfaceAddresses(const std::string&, std::vector<std::string>&)
+{
+ return false;
}
void SystemInfo::getSystemId (std::string &osName,