Fix udp responses

This commit is contained in:
Michael Morrison 2013-07-10 06:07:13 -05:00
parent cb5e47aebe
commit ef0f0075d3

View file

@ -11,8 +11,8 @@ udpSocket.bind(21943);
udpSocket.on('message', function(buffer, rinfo) {
for(var i = 0; i < activeQueries.length; i++) {
var query = activeQueries[i];
if(query.address != rinfo.address) continue;
if(query.port != rinfo.port) continue;
if(query.options.address != rinfo.address) continue;
if(query.options.port != rinfo.port) continue;
query._udpResponse(buffer);
break;
}