]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: dev/udp: properly preset the rx address size
authorWilly Tarreau <w@1wt.eu>
Wed, 31 Aug 2022 06:55:12 +0000 (08:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 Aug 2022 08:39:09 +0000 (10:39 +0200)
commit3ff96103569d911f264563207d1825ad5b6d5616
treecb9365a87189e0088da411d26f27304f7fbae329
parent0bfa3e7ff28942b374a937f5d307b1007b076545
BUG/MINOR: dev/udp: properly preset the rx address size

addrlen was not preset to sizeof(addr) on rx, resulting in the address
often not being filled and response packets not always flowing back.

Let's also consistently use "addr" in the bind call (it points to
frt_addr there but it's a bit confusing).
dev/udp/udp-perturb.c