Skip to content

Commit

Permalink
stun: fix hear ip:port log message
Browse files Browse the repository at this point in the history
  • Loading branch information
yosoyubik committed Dec 6, 2023
1 parent 0acaf10 commit c55b9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vere/io/ames.c
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ _stun_find_xor_mapped_address(c3_y* buf_y, c3_w buf_len, u3_lane* lan_u)
lan_u->por_s = port;
lan_u->pip_w = ip;

if ( u3o_verbose ) {
if ( u3C.wag_w & u3o_verbose ) {
c3_c ip_str[INET_ADDRSTRLEN];
inet_ntop(AF_INET, &ip, ip_str, INET_ADDRSTRLEN);
u3l_log("stun: hear ip:port %s:%u", ip_str, port);
Expand Down

0 comments on commit c55b9d2

Please sign in to comment.