summaryrefslogtreecommitdiff
path: root/src/rabbit_control_main.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-11-01 12:03:59 +0000
committerSimon MacMullen <simon@rabbitmq.com>2012-11-01 12:03:59 +0000
commitfdf36355954fee83b9f6ff6d71adfa008f4d4b44 (patch)
treeb1825e26c286d9a2c2a5a8ec59723540c25ea3e7 /src/rabbit_control_main.erl
parent58ba1e08a08debf79f1413e73def76771500b709 (diff)
downloadrabbitmq-server-fdf36355954fee83b9f6ff6d71adfa008f4d4b44.tar.gz
Unify address and host. Stick ports in the state, just because we're grabbing them anyway.
Diffstat (limited to 'src/rabbit_control_main.erl')
-rw-r--r--src/rabbit_control_main.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl
index 25f7d758..bd18fa5f 100644
--- a/src/rabbit_control_main.erl
+++ b/src/rabbit_control_main.erl
@@ -386,7 +386,7 @@ action(list_bindings, Node, Args, Opts, Inform) ->
action(list_connections, Node, Args, _Opts, Inform) ->
Inform("Listing connections", []),
- ArgAtoms = default_if_empty(Args, [user, peer_address, peer_port, state]),
+ ArgAtoms = default_if_empty(Args, [user, peer_host, peer_port, state]),
display_info_list(rpc_call(Node, rabbit_networking, connection_info_all,
[ArgAtoms]),
ArgAtoms);