Hi Vincent,

> De: "Vincent Bernat" <ber...@luffy.cx>
>               for (; port <= end; port++) {
>                       l = (struct listener *)calloc(1, sizeof(struct 
> listener));
> @@ -291,7 +291,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;

This one was not present in the patch for haproxy 1.6/1.7 ! Maybe it should ?

Cheers,
Cyril

Reply via email to