projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91bf2d
)
Read error counter must be static.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 2 Nov 2010 13:23:43 +0000
(14:23 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 2 Nov 2010 13:23:43 +0000
(14:23 +0100)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index bed779a5c50b3ef78abdd5a29a40bfc5b1822540..08e3cad3ee1bf03a950748209703c47cdc943b7e 100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-280,7
+280,7
@@
static void check_network_activity(fd_set * readset, fd_set * writeset) {
int result, i;
socklen_t len = sizeof(result);
vpn_packet_t packet;
- int errors = 0;
+
static
int errors = 0;
/* check input from kernel */
if(device_fd >= 0 && FD_ISSET(device_fd, readset)) {