Pass host: null to the NDN constructor.
diff --git a/js/ndnProtocol/components/ndnProtocolService.js b/js/ndnProtocol/components/ndnProtocolService.js
index a952574..b747ee5 100644
--- a/js/ndnProtocol/components/ndnProtocolService.js
+++ b/js/ndnProtocol/components/ndnProtocolService.js
@@ -16,8 +16,8 @@
Components.utils.import("chrome://modules/content/ContentChannel.jsm");
function NdnProtocol() {
- this.ndn = new NDN({ getTransport: function() { return new XpcomTransport(); } });
- this.ndn.host = null; // TODO: Remove this when null is the default.
+ // TODO: Remove host: null when null is the default.
+ this.ndn = new NDN({ getTransport: function() { return new XpcomTransport(); }, host: null });
}
NdnProtocol.prototype = {