1
This commit is contained in:
1 parent
f04e5d4b6a
commit
220d23daf7
6 files changed
+58
-12
No files matched your search
@@ -760,6 +760,11 @@ static void send_metrics(struct control_server* server, struct control_client* c
|
||||
rsp->etcp.last_delivered_id = conn->last_delivered_id;
|
||||
rsp->etcp.rx_ack_till = conn->rx_ack_till;
|
||||
|
||||
/* input_wait_ack queue state */
|
||||
rsp->etcp.wait_ack_cb_suspended = (uint8_t)conn->input_wait_ack->callback_suspended;
|
||||
rsp->etcp.wait_ack_cb_set = (conn->input_wait_ack->callback != NULL) ? 1 : 0;
|
||||
rsp->etcp.wait_ack_resume_timeout = (conn->input_wait_ack->resume_timeout_id != NULL) ? 1 : 0;
|
||||
|
||||
/* Fill TUN metrics */
|
||||
if (instance->tun) {
|
||||
rsp->tun.bytes_read = instance->tun->bytes_read;
|
||||
|
||||
Reference in new issue
Block a user