commit
01867e4796
@ -308,7 +308,8 @@ Process
|
|||||||
Interceptor.attach(ex.address, {
|
Interceptor.attach(ex.address, {
|
||||||
onEnter: function (args) {
|
onEnter: function (args) {
|
||||||
var fd = args[0].toInt32();
|
var fd = args[0].toInt32();
|
||||||
if (Socket.type(fd) !== 'tcp')
|
var socktype = Socket.type(fd);
|
||||||
|
if (socktype !== 'tcp' && socktype !== 'tcp6')
|
||||||
return;
|
return;
|
||||||
var address = Socket.peerAddress(fd);
|
var address = Socket.peerAddress(fd);
|
||||||
if (address === null)
|
if (address === null)
|
||||||
|
Loading…
Reference in New Issue
Block a user