Skip to content

Commit

Permalink
Fixups after review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrej Shadura <[email protected]>
  • Loading branch information
Leseratte10 and andrewshadura committed Apr 16, 2023
1 parent c706122 commit f4f9e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tnat64.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ int connect(CONNECT_SIGNATURE)
int sockopt = -1;
socklen_t len = sizeof(sockopt);
if (getsockopt(__fd, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&sockopt, &len) < 0) {
show_msg(MSGWARN, "Can't figure out if this IPv6 socket supports IPv4, assume yes - error %d (%s)\n", errno, strerror(errno));
show_msg(MSGWARN, "Can't figure out if this IPv6 socket supports IPv4, assuming it does (error %d: %s)\n", errno, strerror(errno));
}

if (sockopt != 1) {
Expand Down

0 comments on commit f4f9e06

Please sign in to comment.