Try to clarify the new code in net_packet.c a bit.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 10 Jan 2015 21:28:47 +0000 (22:28 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 10 Jan 2015 21:28:47 +0000 (22:28 +0100)
commit0e653260478005eb7c824a9a1a3df04f39938cd6
tree3c5a13d9808542e2f5692732ed20403528420e54
parent6056f1c13bb37bf711dff9c25a6eaea99f14d31f
Try to clarify the new code in net_packet.c a bit.

Mainly by trying to reduce complex if statements, by splitting try_tx() into try_tx_legacy() and
try_tx_sptps(), since they don't share a lot of code.
src/net_packet.c