connect fixes

This commit is contained in:
mom040267 2014-10-07 00:35:52 +00:00
parent bdf281e648
commit ef416505bc

View File

@ -2248,7 +2248,7 @@ static int handle_turn_connection_bind(turn_turnserver *server,
*err_code = 400;
*reason = (const u08bits *)"Bad request";
} if (is_allocation_valid(a)) {
} else if (is_allocation_valid(a)) {
*err_code = 400;
*reason = (const u08bits *)"Bad request: CONNECTION_BIND cannot be issued after allocation";