We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf1d10 commit 1d794ecCopy full SHA for 1d794ec
1 file changed
test/simple/test-dgram-bind-default-address.js
@@ -31,6 +31,9 @@ dgram.createSocket('udp4').bind(common.PORT + 0, common.mustCall(function() {
31
32
dgram.createSocket('udp6').bind(common.PORT + 1, common.mustCall(function() {
33
assert.equal(this.address().port, common.PORT + 1);
34
- assert.equal(this.address().address, '::');
+ var address = this.address().address;
35
+ if (address === '::ffff:0.0.0.0')
36
+ address = '::';
37
+ assert.equal(address, '::');
38
this.close();
39
}));
0 commit comments