projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix SEGFAULT when trying to connect to IPv6 peer in non-IPv6 environment
[oweals/tinc.git]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index 4b64492dfcaa8ef91237104f87ead6a4d49d18fd..1fecd88fd00d0038e0020124cc303680022e5a33 100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-218,6
+218,7
@@
void terminate_connection(connection_t *c, bool report) {
}
edge_del(c->edge);
+ c->edge = NULL;
/* Run MST and SSSP algorithms */