X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol.c;h=175f2bd019f66771350086e560eb0f7d1e26713d;hb=b13e1a3c1f7252cda5ab95166d9f2d578983471f;hp=6e2a7f329102280c557009e0daf823ca86046034;hpb=1545909dcb3ac618754486f4ccd4d8f237d64bb7;p=tinc diff --git a/src/control.c b/src/control.c index 6e2a7f32..175f2bd0 100644 --- a/src/control.c +++ b/src/control.c @@ -108,7 +108,7 @@ bool control_h(connection_t *c, const char *request) { return control_return(c, REQ_DISCONNECT, -1); } - for list_each(connection_t, other, connection_list) { + for list_each(connection_t, other, &connection_list) { if(strcmp(other->name, name)) { continue; }