[erlang-questions] Possible hostname handling bug in node handshake procedure?

Bernard Duggan bernie@REDACTED
Wed Nov 25 00:20:43 CET 2009

Maas-Maarten Zeeman wrote:
> (a@REDACTED)1> net_adm:ping(b@REDACTED).
> **long wait**
> pang
> (a@REDACTED)2> net_adm:ping(b@REDACTED).
> pong
> In both situations the network packets arrive at b@REDACTED To me it looks
> like there is a case sensitivity problem with the hostname handling in
> the  handshake procedure.
Remember, though: What you're passing to ping() is not a host name, it's
a /node/ name.  A node name is an erlang atom and is therefore case
sensitive.  It's certainly derived from a hostname, and might seem at
first like it should be case insensitive as a result, but as Bengt noted
that would mean implying atom equality where they're not actually equal.



More information about the erlang-questions mailing list