Add missing? counting of total_socket_in.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 5 Jun 2001 19:45:47 +0000 (19:45 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 5 Jun 2001 19:45:47 +0000 (19:45 +0000)
src/net.c

index 59ec5f94ef30b701d2bbbc13d4d14e6543ed5bc4..e255cdde3dcede9f386a6f3f74184640e069c2c5 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: net.c,v 1.35.4.112 2001/06/05 19:39:54 guus Exp $
+    $Id: net.c,v 1.35.4.113 2001/06/05 19:45:47 guus Exp $
 */
 
 #include "config.h"
@@ -180,6 +180,8 @@ cp
   outlen += outpad;
   outpkt.len = outlen - sizeof(outpkt.salt);
 
+  total_socket_in += outlen;
+
   receive_packet(cl, &outpkt);
 cp
 }