diff --git a/apps/sdlan/src/sdlan_stun.erl b/apps/sdlan/src/sdlan_stun.erl index 755351d..f45da2d 100644 --- a/apps/sdlan/src/sdlan_stun.erl +++ b/apps/sdlan/src/sdlan_stun.erl @@ -103,7 +103,7 @@ handle_info({udp, Sock, Ip, Port, <>}, Stat case sdlan_network:get_pid(NetworkId) of undefined -> - lager:debug("[sdlan_stun] stun_request network_id: ~p: ~p, not found", [NetworkId]), + lager:debug("[sdlan_stun] stun_request network_id: ~p, client_id: ~p, not found", [NetworkId, ClientId]), {noreply, State}; NetworkPid when is_pid(NetworkPid) -> sdlan_network:update_hole(NetworkPid, ClientId, Mac, {Ip, Port}, NatType, V6Info), @@ -111,7 +111,7 @@ handle_info({udp, Sock, Ip, Port, <>}, Stat cookie = Cookie }), ok = gen_udp:send(Sock, Ip, Port, <>), - lager:debug("[sdlan_stun] stun_request network_id: ~p, hole: ~p", [NetworkId, {Ip, Port}]), + lager:debug("[sdlan_stun] stun_request network_id: ~p, client_id: ~p, hole: ~p", [NetworkId, ClientId, {Ip, Port}]), {noreply, State} end;