Fix invalid checksum generation.
authorNathan Stratton Treadway <nathanst@ontko.com>
Sat, 12 Sep 2015 14:33:52 +0000 (16:33 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 12 Sep 2015 14:41:48 +0000 (16:41 +0200)
commitae89a25695411149a7499189c9771762ad1f1726
tree77116490ec095c42ffb8cebf9aa2b1e046c015b0
parent56a8b90d863171d62e0a337b5635fbfc53a67fb0
Fix invalid checksum generation.

Use equation 3 given in RFC 1624 and the UpdateTTL() example function given
RFC 1141.

# Conflicts:
# src/route.c
src/route.c