summaryrefslogtreecommitdiff
path: root/debian/patches/counter_type_for_bytes.patch
blob: 7763c9a8cc8fef7b063ee5bca1ef6f44a95e9213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: openvpn-2.1.3/ssl.h
===================================================================
--- openvpn-2.1.3.orig/ssl.h	2011-03-11 12:35:32.000000000 +0100
+++ openvpn-2.1.3/ssl.h	2011-03-11 12:59:08.883318001 +0100
@@ -378,8 +378,8 @@
 
   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.