diff options
author | James Yonan | 2011-04-02 08:21:28 +0000 |
---|---|---|
committer | David Sommerseth | 2011-04-26 22:29:11 +0200 |
commit | 4d453a1792b04f01a8c313157402ce0501ae809c (patch) | |
tree | 8f544d57e9d32e87bcc87a0453dbe97942d2b0a0 /packet_id.h | |
parent | ac1310528a248c99e039e7afaf48724ad1b7f10e (diff) | |
download | openvpn-4d453a1792b04f01a8c313157402ce0501ae809c.zip openvpn-4d453a1792b04f01a8c313157402ce0501ae809c.tar.gz |
Fixed bug that incorrectly placed stricter TCP packet replay rules on
UDP sessions when the client daemon was running in UDP/TCP adaptive
mode, and transitioned from TCP to UDP.
The bug would cause a single dropped packet in UDP mode to trigger a
barrage of packet replay errors followed by a disconnect and
reconnect.
Version 2.1.3r
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7125 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'packet_id.h')
-rw-r--r-- | packet_id.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packet_id.h b/packet_id.h index 1c341f7..7f4be8a 100644 --- a/packet_id.h +++ b/packet_id.h @@ -210,7 +210,7 @@ struct packet_id struct packet_id_rec rec; }; -void packet_id_init (struct packet_id *p, int seq_backtrack, int time_backtrack, const char *name, int unit); +void packet_id_init (struct packet_id *p, bool tcp_mode, int seq_backtrack, int time_backtrack, const char *name, int unit); void packet_id_free (struct packet_id *p); /* should we accept an incoming packet id ? */ |