X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol.c;h=956d6ee10bd066174c4ef406ec8d71020b31de9d;hb=e5e96882c3825cee81ff163490b2f39fad3192b8;hp=d074ebbafa7005bca163de4ff1460124ca2f5fda;hpb=86c2990327fdf7ec1197aa73cb2b9a926a734db4;p=tinc diff --git a/src/control.c b/src/control.c index d074ebba..956d6ee1 100644 --- a/src/control.c +++ b/src/control.c @@ -44,7 +44,7 @@ static bool control_ok(connection_t *c, int type) { return control_return(c, type, 0); } -bool control_h(connection_t *c, char *request) { +bool control_h(connection_t *c, const char *request) { int type; if(!c->status.control || c->allow_request != CONTROL) {