Revert "puzzle"
This reverts commit b7aba368f9afa5bc1a93ab342c748f730aa64cf8.
diff --git a/src/ccnx-tunnel.cpp b/src/ccnx-tunnel.cpp
index 36b8f6f..9406474 100644
--- a/src/ccnx-tunnel.cpp
+++ b/src/ccnx-tunnel.cpp
@@ -8,7 +8,7 @@
: CcnxWrapper()
, m_localPrefix("/")
{
- //refreshLocalPrefix();
+ refreshLocalPrefix();
}
CcnxTunnel::~CcnxTunnel()
@@ -32,17 +32,13 @@
{
Name tunneledInterest = queryRoutableName(interest);
Closure *cp = new TunnelClosure(closure, this, interest);
- cout << "send interest in Tunnel" << endl;
- CcnxWrapper::sendInterest(tunneledInterest, cp, selectors);
+ sendInterest(tunneledInterest, cp, selectors);
}
void
CcnxTunnel::handleTunneledData(const Name &name, const Bytes &tunneledData, const Closure::DataCallback &originalDataCallback)
{
ParsedContentObject pco(tunneledData);
- Name n = pco.name();
- Bytes b = pco.content();
- cout <<"Parsed ContentObject" << n << b.size() << endl;
originalDataCallback(pco.name(), pco.content());
}