summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/UpdateClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/UpdateClient.cpp')
-rw-r--r--cpp/src/qpid/cluster/UpdateClient.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/UpdateClient.cpp b/cpp/src/qpid/cluster/UpdateClient.cpp
index 8737418570..f9aa8b804d 100644
--- a/cpp/src/qpid/cluster/UpdateClient.cpp
+++ b/cpp/src/qpid/cluster/UpdateClient.cpp
@@ -690,10 +690,8 @@ void UpdateClient::updateLink(const boost::shared_ptr<broker::Link>& link) {
// now push the current state
framing::FieldTable state;
link->getState(state);
- std::ostringstream os;
- os << qpid::Address(link->getTransport(), link->getHost(), link->getPort());
ClusterConnectionProxy(session).internalState(std::string("link"),
- os.str(),
+ link->getName(),
state);
}