diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-11-16 14:27:34 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-11-16 14:27:34 +0000 |
| commit | 69d09a9077237a2c51cfb8e85544c9f5f79a1a66 (patch) | |
| tree | 2c4a114c4b960df1e335006142ce7187d17cfa83 /cpp/src/qpid/sys/windows/SystemInfo.cpp | |
| parent | 8228f17dce73eca6d26d6a4eeb2d7ebd1d7a741c (diff) | |
| download | qpid-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-x | cpp/src/qpid/sys/windows/SystemInfo.cpp | 8 |
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, |
