diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-04-08 21:18:42 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-10-21 11:37:03 +0200 |
commit | 41104b4e23aaa17257cadb7f6c4ba1325c025b46 (patch) | |
tree | ecf700528f81bba00537dabab6eafae2c9565089 /ssl.h | |
parent | The man page needs dash escaping in UTF-8 environments (diff) | |
download | openvpn-41104b4e23aaa17257cadb7f6c4ba1325c025b46.tar.xz |
Make use of counter_type instead of int when counting bytes and network packets
This is in response to a reported Debian bug, where the connection counter overflows.
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576827>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'ssl.h')
-rw-r--r-- | ssl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -378,8 +378,8 @@ struct key_state struct buffer_list *paybuf; - int n_bytes; /* how many bytes sent/recvd since last key exchange */ - int n_packets; /* how many packets sent/recvd since last key exchange */ + counter_type n_bytes; /* how many bytes sent/recvd since last key exchange */ + counter_type n_packets; /* how many packets sent/recvd since last key exchange */ /* * If bad username/password, TLS connection will come up but 'authenticated' will be false. |