]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: connection - Rename bytes_in,_out to net_in_,out_bytes
authorAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 25 Jan 2023 19:18:14 +0000 (21:18 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 16 Mar 2023 05:38:57 +0000 (07:38 +0200)
src/lib/connection.c

index 7acf0a33b8a08256356c61ae2bd780e4c271b900..1897b6e300a720564fafdf291153936e9d7c5fae 100644 (file)
@@ -794,9 +794,9 @@ int connection_client_connect_async(struct connection *conn)
 void connection_update_counters(struct connection *conn)
 {
        if (conn->input != NULL)
-               event_add_int(conn->event, "bytes_in", conn->input->v_offset);
+               event_add_int(conn->event, "net_in_bytes", conn->input->v_offset);
        if (conn->output != NULL)
-               event_add_int(conn->event, "bytes_out", conn->output->offset);
+               event_add_int(conn->event, "net_out_bytes", conn->output->offset);
 }
 
 void connection_disconnect(struct connection *conn)