projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6168a9b
)
Remove an unused variable.
author
Guus Sliepen
<guus@sliepen.org>
Wed, 20 Nov 2013 22:02:20 +0000
(23:02 +0100)
committer
Guus Sliepen
<guus@sliepen.org>
Wed, 20 Nov 2013 22:02:20 +0000
(23:02 +0100)
src/net_socket.c
patch
|
blob
|
history
diff --git
a/src/net_socket.c
b/src/net_socket.c
index
ab3c17e
..
6828da7
100644
(file)
--- a/
src/net_socket.c
+++ b/
src/net_socket.c
@@
-594,7
+594,6
@@
void handle_new_meta_connection(void *data, int flags) {
// Check if we get many connections from the same host
static sockaddr_t prev_sa;
- static time_t prev_time;
static int tarpit = -1;
if(tarpit >= 0) {
@@
-621,7
+620,6
@@
void handle_new_meta_connection(void *data, int flags) {
}
memcpy(&prev_sa, &sa, sizeof sa);
- prev_time = now.tv_sec;
// Check if we get many connections from different hosts