projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the correct direction flag when setting cipher keys.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
956607c
..
713a40c
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-87,6
+87,9
@@
void free_connection(connection_t *c) {
if(event_initialized(&c->outevent))
event_del(&c->outevent);
+ if(c->socket > 0)
+ closesocket(c->socket);
+
free(c);
}