mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-08 16:23:24 -04:00
BUG/MINOR: fix listening IP address storage for frontends (cont)
Commit 6e6158 was incomplete. There was an additional aggregate copy that may trigger a similar case in the future.
This commit is contained in:
parent
6e61589573
commit
6e46ff11e9
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf,
|
|||
l->bind_conf = bind_conf;
|
||||
|
||||
l->fd = fd;
|
||||
l->addr = ss;
|
||||
memcpy(&l->addr, &ss, sizeof(ss));
|
||||
l->xprt = &raw_sock;
|
||||
l->state = LI_INIT;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue