mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
BUG/MEDIUM: servers: fix typo "src" instead of "srv"
When copying the settings for all servers when using server templates, fix a typo, or we would never copy the length of the ALPN to be used for checks. This should be backported to 1.9.
This commit is contained in:
parent
02f3cf19ed
commit
0c50b1ecbb
@ -1639,7 +1639,7 @@ static void srv_settings_cpy(struct server *srv, struct server *src, int srv_tmp
|
||||
srv->check.port = src->check.port;
|
||||
srv->check.sni = src->check.sni;
|
||||
srv->check.alpn_str = src->check.alpn_str;
|
||||
srv->check.alpn_len = srv->check.alpn_len;
|
||||
srv->check.alpn_len = src->check.alpn_len;
|
||||
/* Note: 'flags' field has potentially been already initialized. */
|
||||
srv->flags |= src->flags;
|
||||
srv->do_check = src->do_check;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user