X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fcontrol.c;h=98eae804d7cc46b79b0d9448fbadd512d2984618;hp=dc8890a867ef5cf661965c6a45abc23bf2e7144d;hb=0c7e0210d900185d4c1a9ffd969dc2a26d9523a9;hpb=0c026f3c6dec784c3267ad7e2c4709d5393dc292 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; }