reply
This commit is contained in:
parent
cff4ca0296
commit
ecc0f052ef
|
@ -124,7 +124,7 @@ handle_call(info, _From, State = #client_state{connection = Connection,
|
||||||
ClientInfo = ?record_to_proplist(client_state, State, ?INFO_KEYS),
|
ClientInfo = ?record_to_proplist(client_state, State, ?INFO_KEYS),
|
||||||
ProtoInfo = emqttd_protocol:info(ProtoState),
|
ProtoInfo = emqttd_protocol:info(ProtoState),
|
||||||
{ok, SockStats} = Connection:getstat(?SOCK_STATS),
|
{ok, SockStats} = Connection:getstat(?SOCK_STATS),
|
||||||
{noreply, lists:append([ClientInfo, [{proto_info, ProtoInfo},
|
{reply, lists:append([ClientInfo, [{proto_info, ProtoInfo},
|
||||||
{sock_stats, SockStats}]]), State};
|
{sock_stats, SockStats}]]), State};
|
||||||
|
|
||||||
handle_call(kick, _From, State) ->
|
handle_call(kick, _From, State) ->
|
||||||
|
|
Loading…
Reference in New Issue