projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing? counting of total_socket_in.
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
59ec5f9
..
e255cdd
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.
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.11
2 2001/06/05 19:39:54
guus Exp $
+ $Id: net.c,v 1.35.4.11
3 2001/06/05 19:45:47
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-180,6
+180,8
@@
cp
outlen += outpad;
outpkt.len = outlen - sizeof(outpkt.salt);
outlen += outpad;
outpkt.len = outlen - sizeof(outpkt.salt);
+ total_socket_in += outlen;
+
receive_packet(cl, &outpkt);
cp
}
receive_packet(cl, &outpkt);
cp
}