projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the "network" command in tinc shell.
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
cbd3954
..
30e6f84
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-1154,8
+1154,7
@@
void close_network_connections(void) {
if(myself && myself->connection) {
subnet_update(myself, NULL, false);
- terminate_connection(myself->connection, false);
- free_connection(myself->connection);
+ connection_del(myself->connection);
}
for(int i = 0; i < listen_sockets; i++) {