Compare commits
No commits in common. "8734d8180c69befd79d8ce8e501ec97eab7ca7e5" and "0a35d7f062e57843da38299e07e7f4e3cd610018" have entirely different histories.
8734d8180c
...
0a35d7f062
|
@ -21,7 +21,7 @@ class Socket extends streamx_1.Duplex {
|
|||
if (!type) {
|
||||
throw Error("invalid remoteAddress");
|
||||
}
|
||||
this.remoteFamily = type === 6 ? IPV6 : IPV4;
|
||||
this.remoteFamily = type === 6 ? IPV4 : IPV6;
|
||||
}
|
||||
}
|
||||
_connecting;
|
||||
|
|
|
@ -48,7 +48,7 @@ export default class Socket extends Duplex {
|
|||
throw Error("invalid remoteAddress");
|
||||
}
|
||||
|
||||
this.remoteFamily = type === 6 ? IPV6 : IPV4;
|
||||
this.remoteFamily = type === 6 ? IPV4 : IPV6;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue