зеркало из https://github.com/microsoft/statsd.git
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:
Родитель
7873e9738a
Коммит
e37c952619
|
@ -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); });
|
||||
|
|
Загрузка…
Ссылка в новой задаче