Comparing version 1.0.0 to 1.0.1
@@ -135,2 +135,5 @@ var nat = require('../nat-upnp'); | ||
results = results.filter(function(item) { | ||
if (typeof item.description !== 'string') | ||
return; | ||
if (options.description instanceof RegExp) { | ||
@@ -137,0 +140,0 @@ return item.description.match(options.description) !== null; |
@@ -154,3 +154,3 @@ var dgram = require('dgram'); | ||
this.emit('_device', headers, remote.address); | ||
this.emit('_device', headers, addr); | ||
}; | ||
@@ -157,0 +157,0 @@ |
{ | ||
"name": "nat-upnp", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "lib/nat-upnp", | ||
@@ -5,0 +5,0 @@ "author": "Fedor Indutny <fedor@indutny.com>", |
20305
516