projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Read error counter must be static.
[oweals/tinc.git]
/
src
/
net.c
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)) {