Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "dnsproxy", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A simple DNS proxy server for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "proxy.js", |
@@ -288,5 +288,5 @@ 'use strict'; | ||
Server.prototype.start = function(address, callback) { | ||
Server.prototype.start = function( /*address, callback*/ ) { | ||
responseBuffer = responseBuffer || new Buffer(DNS_BUFFER_SIZE); | ||
this.bind(DNS_SERVER_PORT, address, callback); | ||
this.bind.apply(this, [DNS_SERVER_PORT].concat(Array.prototype.slice.call(arguments, 0))); | ||
}; // }}} | ||
@@ -293,0 +293,0 @@ |
@@ -10,2 +10,3 @@ node-dns-proxy | ||
npm install dnsproxy | ||
sudo node test.js | ||
``` |
13122
12