Permalink
Browse files

Fix: unecessrey if (thx damencho)

  • Loading branch information...
Mészáros Mihály
Mészáros Mihály committed Sep 14, 2018
1 parent ffc661b commit 1796233e669de6d819d70946569625b39d2afc77
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/server/ns_turn_server.c
@@ -1269,8 +1269,6 @@ static int handle_turn_allocate(turn_turnserver *server,
a_family = STUN_ATTRIBUTE_REQUESTED_ADDRESS_FAMILY_VALUE_IPV4;
break;
}
if(get_ioa_socket_address_family(ss->client_socket) == AF_INET6)
a_family = STUN_ATTRIBUTE_REQUESTED_ADDRESS_FAMILY_VALUE_IPV6;
}
int res = create_relay_connection(server, ss, lifetime,

0 comments on commit 1796233

Please sign in to comment.