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:
Vincent Bernat 2016-05-19 11:29:43 +02:00 committed by Willy Tarreau
parent 6e61589573
commit 6e46ff11e9

View File

@ -298,7 +298,7 @@ int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf,
l->bind_conf = bind_conf; l->bind_conf = bind_conf;
l->fd = fd; l->fd = fd;
l->addr = ss; memcpy(&l->addr, &ss, sizeof(ss));
l->xprt = &raw_sock; l->xprt = &raw_sock;
l->state = LI_INIT; l->state = LI_INIT;