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:37:45 +0000 (16:37 +0200)
commit6da826db2154321addb79c05b60a5e6f1a9dccf1
tree8252c00dccc34cccf07f4c91908bdc0f2855c34d
parent3d02192c9bd42a979d8d5b109b0475dd0566e99f
Fix invalid checksum generation.

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