]> git.meshlink.io Git - meshlink/commit
Fix handling of initial datagram SPTPS packet.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 14 Oct 2012 12:33:54 +0000 (14:33 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 14 Oct 2012 12:33:54 +0000 (14:33 +0200)
commit44a24f63acc70d19904e5540986b8301b3c9b882
treebd04838bad24dfa3dfb550ce9fb47e3ceb397e00
parentec1f7e525d046bcaeb8e7040b8cec9a34a568371
Fix handling of initial datagram SPTPS packet.

Only the very first packet of an SPTPS session should be send with REQ_KEY,
this signals the peer to abort any previous session and start a new one as
well.
src/net_packet.c
src/protocol.h
src/protocol_key.c