diff --git a/dataset/w1 b/dataset/w1 index 0783001289e0200fdeb63d01b595397b2cf1f183..5b5e54e105f5a934ef2e5c5f6638699cfc9e4540 100644 --- a/dataset/w1 +++ b/dataset/w1 @@ -4,6 +4,4 @@ car car car car -apple -dog the diff --git a/src/Node.cpp b/src/Node.cpp index 2fde9c6be34db7a0d5c402808b2d9418ba14a62b..6999e72844dd15344dda81be37f157b94db3afbd 100644 --- a/src/Node.cpp +++ b/src/Node.cpp @@ -931,7 +931,7 @@ void Node::handleTcpMessage() if (tempVec.size() != 2) continue; //temp keys in form tmp-key string keyFile = inMsg[5] + "-" + tempVec[tempVec.size()-1]; cout << "[CHUNKACK] transform from: " << entry->d_name << " to " << keyFile << endl; - //TODO: add prefix here + Messages outMsg(DNS, nodeInformation.ip + "::" + to_string(hashRingPosition) + "::" + keyFile + "::" + entry->d_name + "::" + to_string(-1) + "::" + to_string(-1) + "::" + keyFile + "::" + "0"); //cout << "[PUT] Got localfilename: " << entry->d_name << " with sdfsfilename: " << target << endl;