mirror of
https://repo.or.cz/socat.git
synced 2025-07-18 00:53:25 +00:00
Correction of getprotobynumber_r() variant detection (musl libc)
This commit is contained in:
parent
ee23bccee7
commit
75cb44bc90
4 changed files with 14 additions and 6 deletions
2
filan.c
2
filan.c
|
@ -917,7 +917,7 @@ int tcpan2(int fd, FILE *outfile) {
|
|||
fd, &tcpinfo, sizeof(tcpinfo), strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
fprintf(outfile, "%s={%u}\t", "TCPI_STATE", tcpinfo.tcpi_state);
|
||||
fprintf(outfile, "%s={%u}\t", "TCPI_STATE", tcpinfo.tcpi_state);
|
||||
#if 0 /* on BSD these components are prefixed with __ - I get tired... */
|
||||
fprintf(outfile, "%s={%u}\t", "TCPI_CA_STATE", tcpinfo.tcpi_ca_state);
|
||||
fprintf(outfile, "%s={%u}\t", "TCPI_RETRANSMITS", tcpinfo.tcpi_retransmits);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue