From: Guus Sliepen Date: Tue, 5 Jun 2001 19:45:47 +0000 (+0000) Subject: Add missing? counting of total_socket_in. X-Git-Tag: release-1.0pre5~128 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=9cd9b0392388e24ade19a43206221081b61806e7;p=tinc Add missing? counting of total_socket_in. --- diff --git a/src/net.c b/src/net.c index 59ec5f94..e255cdde 100644 --- 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 }