Skip to content

Commit

Permalink
fix(peername): ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Jan 3, 2024
1 parent 8c56a02 commit a5eb06c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/quicer_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ addr2eterm(ErlNifEnv *env, QUIC_ADDR *addr)
enif_make_int(env, ntohs(ip[5])),
enif_make_int(env, ntohs(ip[6])),
enif_make_int(env, ntohs(ip[7]))),
enif_make_int(env, addr->Ipv6.sin6_port));
enif_make_int(env, ntohs(addr->Ipv6.sin6_port)));
}
else
{
Expand Down

0 comments on commit a5eb06c

Please sign in to comment.