summaryrefslogtreecommitdiffstats
path: root/src/server_state.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
commitd2a536e458f4cd7ffeadfe302c23bbfe263b0053 (patch)
treefec732451d7ffbd0e7b8c4461dfcfe36faa13322 /src/server_state.c
parentAdding debian version 2.9.7-1. (diff)
downloadhaproxy-d2a536e458f4cd7ffeadfe302c23bbfe263b0053.tar.xz
haproxy-d2a536e458f4cd7ffeadfe302c23bbfe263b0053.zip
Merging upstream version 3.0.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/server_state.c')
-rw-r--r--src/server_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server_state.c b/src/server_state.c
index ebdcf3c..ffc2463 100644
--- a/src/server_state.c
+++ b/src/server_state.c
@@ -321,7 +321,7 @@ static void srv_state_srv_update(struct server *srv, int version, char **params)
srv_adm_set_drain(srv);
}
- srv->last_change = ns_to_sec(now_ns) - srv_last_time_change;
+ srv->counters.last_change = ns_to_sec(now_ns) - srv_last_time_change;
srv->check.status = srv_check_status;
srv->check.result = srv_check_result;