aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb/mount.c
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 /toys/lsb/mount.c
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 'toys/lsb/mount.c')
0 files changed, 0 insertions, 0 deletions