aboutsummaryrefslogtreecommitdiff
path: root/bootp.h
diff options
context:
space:
mode:
authorTao Wu <lepton@google.com>2017-11-08 14:53:40 -0800
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-11-09 18:59:22 +0100
commitaa0c5f6a3ce7a611413b0b61e0cc4044ccb5cc84 (patch)
tree388e9c41bbc2997bd5a49564d8386d071ab9adda /bootp.h
parent8466b7dbe5479728a6f7084677129f6fe53f365c (diff)
downloadslirp-2.11.2.zip
slirp-2.11.2.tar.gz
slirp-2.11.2.tar.bz2
98c63057d2144fb81681580cd84c13c93794c96e ('slirp: Factorizing tcpiphdr structure with an union') introduced a memset call to clear possibly-undefined fields in ti. This however overwrites src/dst/pr which are used below. So let us clear only the unused fields. This should fix some rare cases (some RST cases, keep alive probes) where packets would be sent to 0.0.0.0. Signed-off-by: Tao Wu <lepton@google.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'bootp.h')
0 files changed, 0 insertions, 0 deletions