Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created April 18, 2013 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/5416645 to your computer and use it in GitHub Desktop.
Save isaacs/5416645 to your computer and use it in GitHub Desktop.
$ ./node test/simple/test-dgram-bind-default-address.js
assert.js:98
throw new assert.AssertionError({
^
AssertionError: "::ffff:0.0.0.0" == "::"
at Socket.<anonymous> (/Users/isaacs/dev/js/node-v0.10/test/simple/test-dgram-bind-default-address.js:34:10)
at Socket.<anonymous> (/Users/isaacs/dev/js/node-v0.10/test/common.js:198:15)
at Socket.g (events.js:175:14)
at Socket.EventEmitter.emit (events.js:92:17)
at startListening (dgram.js:141:10)
at dgram.js:213:7
at dns.js:72:18
at process._tickCallback (node.js:415:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
@bnoordhuis
Copy link

Is that on OS X? I can't reproduce it on 10.8.2.

It's also kind of surprising that when you ask for ::, you're assigned the IPv4-to-IPv6 mapping of :: instead. OS X... :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment