diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-10-28 13:32:35 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-10-28 13:32:35 +0100 |
| commit | 91867c3a44ff6aa3cdea217062450244d577ec6d (patch) | |
| tree | 309f1ea4ecc6f37ffd0f80a7d74ed4dedd5a1cc6 /src | |
| parent | 0f90ff4daacbd6f53ea1da5323d73aaaa2ca0218 (diff) | |
| download | rabbitmq-server-git-91867c3a44ff6aa3cdea217062450244d577ec6d.tar.gz | |
Store listener IP address
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_networking.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl index db5c71f62a..5e173cb351 100644 --- a/src/rabbit_networking.erl +++ b/src/rabbit_networking.erl @@ -194,6 +194,7 @@ tcp_listener_started(IPAddress, Port) -> #listener{node = node(), protocol = tcp, host = tcp_host(IPAddress), + ip_address = IPAddress, port = Port}). tcp_listener_stopped(IPAddress, Port) -> @@ -202,6 +203,7 @@ tcp_listener_stopped(IPAddress, Port) -> #listener{node = node(), protocol = tcp, host = tcp_host(IPAddress), + ip_address = IPAddress, port = Port}). active_listeners() -> |
