aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkstatus.py
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-12-20 11:25:26 -0800
committerRob Landley <rob@landley.net>2018-12-21 15:22:04 -0600
commit40e162e58dff93bb941340d832bca8e6ce368600 (patch)
tree3ac80facb3831ae6ddeff6caec0a117670385ba0 /scripts/mkstatus.py
parent4f5717dd140e8769f770191bcd1e6ee1f4bbc6d8 (diff)
downloadtoybox-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 'scripts/mkstatus.py')
0 files changed, 0 insertions, 0 deletions