Change connectAndExpressInterest to connectAndExecute to be used by registerPrefix too.
diff --git a/js/ndnProtocol/components/ndnProtocolService.js b/js/ndnProtocol/components/ndnProtocolService.js
index 3276db9..474a1cc 100644
--- a/js/ndnProtocol/components/ndnProtocolService.js
+++ b/js/ndnProtocol/components/ndnProtocolService.js
@@ -19,7 +19,8 @@
function NdnProtocol() {
// TODO: Remove host: null when null is the default.
this.ndn = new NDN({ getTransport: function() { return new XpcomTransport(); },
- host: null, verify: false });
+ host: null, verify: false });
+// DEBUG host: "E.hub.ndn.ucla.edu", port: 9695, verify: false });
}
NdnProtocol.prototype = {