making the repeater backend ipv4 only again

some people reported problems with it, so we have to look into a better
configurable solution for this.
This commit is contained in:
Daniel Schauenberg 2012-11-03 16:50:11 -04:00
Родитель 7873e9738a
Коммит e37c952619
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4,7 +4,7 @@ var util = require('util'),
function RepeaterBackend(startupTime, config, emitter){
var self = this;
this.config = config.repeater || [];
this.sock = dgram.createSocket('udp6');
this.sock = dgram.createSocket('udp4');
// attach
emitter.on('packet', function(packet, rinfo) { self.process(packet, rinfo); });