Fix PMTU discovery via datagram SPTPS.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 12 May 2014 13:57:40 +0000 (15:57 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 12 May 2014 13:57:40 +0000 (15:57 +0200)
commit66f325f4674e70d83744626f3b8dda6760f8d613
tree0b5b0e66ede2f93a3ed76d7698c84f5297c7fdd4
parentc35bfa18ec49439d4a028990fcf0ae6d8c4508a5
Fix PMTU discovery via datagram SPTPS.

In send_sptps_data(), the len variable contains the length of the whole
datagram that needs to be sent to the peer, including the overhead from SPTPS
itself.
src/net_packet.c
src/sptps.h