X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol.c;h=98eae804d7cc46b79b0d9448fbadd512d2984618;hb=b23bf132838156d2fe5a18d50a2b5e068ae18ec3;hp=dc8890a867ef5cf661965c6a45abc23bf2e7144d;hpb=127f2f99f3d43e0565782750f26f1d3980c72711;p=tinc diff --git a/src/control.c b/src/control.c index dc8890a8..98eae804 100644 --- a/src/control.c +++ b/src/control.c @@ -106,7 +106,7 @@ bool control_h(connection_t *c, const char *request) { for list_each(connection_t, other, connection_list) { if(strcmp(other->name, name)) continue; - terminate_connection(other, other->status.active); + terminate_connection(other, other->edge); found = true; }