diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-10-29 12:48:55 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-10-29 12:48:55 +0100 |
commit | 1623b57f9e82c265ffca565bce08a6b42852429d (patch) | |
tree | e6554e0ce9fded147c3a5af3f824493b97308d2d | |
parent | ed0464d099fde16409c61be4996ac045cfcfcbad (diff) | |
download | rabbitmq-server-1623b57f9e82c265ffca565bce08a6b42852429d.tar.gz |
Add a comment to explain
-rw-r--r-- | src/rabbit_networking.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl index 5e173cb3..ac0b9860 100644 --- a/src/rabbit_networking.erl +++ b/src/rabbit_networking.erl @@ -189,6 +189,9 @@ stop_tcp_listener(Host, Port) -> ok. tcp_listener_started(IPAddress, Port) -> + %% We need the ip to distinguish e.g. 0.0.0.0 and 127.0.0.1 + %% We need the host so we can distinguish multiple instances of the above + %% in a cluster. ok = mnesia:dirty_write( rabbit_listener, #listener{node = node(), |