diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-01-16 16:16:09 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-01-22 23:36:35 +0100 |
commit | 2cb2fe6f89152e537ee583c6f74397a42aae11a9 (patch) | |
tree | 962b531f2307cb043add1553376c1318b160e593 /udp.h | |
parent | 5dffb998925376440aa09ac48523b86fa96381ee (diff) | |
download | passt-2cb2fe6f89152e537ee583c6f74397a42aae11a9.tar passt-2cb2fe6f89152e537ee583c6f74397a42aae11a9.tar.gz passt-2cb2fe6f89152e537ee583c6f74397a42aae11a9.tar.bz2 passt-2cb2fe6f89152e537ee583c6f74397a42aae11a9.tar.lz passt-2cb2fe6f89152e537ee583c6f74397a42aae11a9.tar.xz passt-2cb2fe6f89152e537ee583c6f74397a42aae11a9.tar.zst passt-2cb2fe6f89152e537ee583c6f74397a42aae11a9.zip |
icmp: Remove redundant initialisation of sendto() address
We initialise the address portion of the sockaddr for sendto() to the
unspecified address, but then always overwrite it with the actual
destination address before we call the sendto().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.h')
0 files changed, 0 insertions, 0 deletions