fix
This commit is contained in:
parent
92ced0cfa0
commit
2cc9bdadc1
@ -107,7 +107,7 @@ handle_info({udp, Sock, Ip, Port, <<?PACKET_STUN_REQUEST:8, Body/binary>>}, Stat
|
|||||||
cookie = Cookie
|
cookie = Cookie
|
||||||
}),
|
}),
|
||||||
ok = gen_udp:send(Sock, Ip, Port, <<?PACKET_STUN_REPLY, StunReply/binary>>),
|
ok = gen_udp:send(Sock, Ip, Port, <<?PACKET_STUN_REPLY, StunReply/binary>>),
|
||||||
logger:debug("[sdlan_stun] stun_request network_id: ~p, client_id: ~p, hole: ~p, bytes: ~p", [NetworkId, ClientId, {Ip, Port}, <<?PACKET_STUN_REPLY, StunReply/binary>>])
|
logger:debug("[sdlan_stun] stun_request network_id: ~p, client_id: ~p, hole: ~p, bytes: ~p", [NetworkId, ClientId, {Ip, Port}, byte_size(<<?PACKET_STUN_REPLY, StunReply/binary>>)])
|
||||||
end,
|
end,
|
||||||
{noreply, State};
|
{noreply, State};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user