Skip to content

Commit

Permalink
Fix size for ipv4/6 size
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Jun 22, 2020
1 parent c3574b0 commit c8fdfc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/PeerAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class PeerAddress

void ToString(char * buf, size_t bufSize)
{
char ip_addr[INET_ADDRSTRLEN];
char ip_addr[kInetMaxAddrLen];

switch (mTransportType)
{
Expand Down

0 comments on commit c8fdfc1

Please sign in to comment.