event_add_int(conn->event, "remote_uid", conn->remote_uid);
}
-static void connection_update_properties(struct connection *conn)
+void connection_update_properties(struct connection *conn)
{
int fd = (conn->fd_in < 0 ? conn->fd_out : conn->fd_in);
struct net_unix_cred cred;
/* Update event fields and log prefix based on connection properties. */
void connection_update_event(struct connection *conn);
+/* Update connection properties and labels */
+void connection_update_properties(struct connection *conn);
+
/* This needs to be called if the input/output streams are changed */
void connection_streams_changed(struct connection *conn);