diff options
author | Elliott Hughes <enh@google.com> | 2018-12-20 11:25:26 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-21 15:22:04 -0600 |
commit | 40e162e58dff93bb941340d832bca8e6ce368600 (patch) | |
tree | 3ac80facb3831ae6ddeff6caec0a117670385ba0 /tests/README.txt | |
parent | 4f5717dd140e8769f770191bcd1e6ee1f4bbc6d8 (diff) | |
download | toybox-40e162e58dff93bb941340d832bca8e6ce368600.tar.gz |
Fix UDP checksum verification error.
From RFC 768, if UDP packet checksum computation yields a result of
zero, change it to hex 0xFFFF. The current udhcpc checksum verification
would yield false positive for this case. A better way is to compute the
checksum with the original checksum field and the result should be zero
for good udp packet.
Signed-off-by: Yangchun Fu <yangchun@google.com>
Diffstat (limited to 'tests/README.txt')
0 files changed, 0 insertions, 0 deletions