updated BPQ cache to handle reply-to eids
authoraidan
Wed, 29 Jun 2011 13:09:12 +0100
changeset 21 ea3d443fb6bc
parent 20 7fd5f0de6c59
child 22 3c36683e13be
updated BPQ cache to handle reply-to eids
servlib/bundling/BPQResponse.cc
--- a/servlib/bundling/BPQResponse.cc	Wed Jun 29 12:44:26 2011 +0100
+++ b/servlib/bundling/BPQResponse.cc	Wed Jun 29 13:09:12 2011 +0100
@@ -42,8 +42,8 @@
 
     // set EIDs
     new_response->mutable_source()->assign(local_eid);
-    new_response->mutable_dest()->assign(query->source());
-    new_response->mutable_replyto()->assign(query->dest());
+    new_response->mutable_dest()->assign(query->replyto());
+    new_response->mutable_replyto()->assign(cached_response->replyto());
 
     // set expiry
     new_response->set_expiration(query->expiration());      // TODO: check this is ok