William,
Am 03.10.20 um 23:15 schrieb William Dauchy:
> index 18cdf426e..fffd841f8 100644
> --- a/src/proxy.c
> +++ b/src/proxy.c
> @@ -1930,14 +1930,15 @@ static int dump_servers_state(struct stream_interface
> *si)
> "%d %s %s "
> "%d %d %d %d %ld "
> "%d %d %d %d %d "
> - "%d %d %s %u %s"
> + "%d %d %s %u %s "
> + "%d"
Here you add a new line within the format string.
> "\n",
> px->uuid, px->id,
> srv->puid, srv->id, srv_addr,
> srv->cur_state, srv->cur_admin,
> srv->uweight, srv->iweight, (long int)srv_time_since_last_change,
> srv->check.status, srv->check.result,
> srv->check.health, srv->check.state, srv->agent.state,
> bk_f_forced_id, srv_f_forced_id,
> srv->hostname ? srv->hostname : "-", srv->svc_port,
> - srvrecord ? srvrecord : "-");
> + srvrecord ? srvrecord : "-", srv->use_ssl);
But here you don't. From what I am seeing the line breaks of the
parameters match the line breaks of the format string.
> } else {
> /* show servers conn */
> int thr;
>
Best regards
Tim Düsterhus