Skip to content

Commit

Permalink
Merge pull request #478 from esimest/master
Browse files Browse the repository at this point in the history
Add error code ETIMEOUT(110) handle logic
  • Loading branch information
rewolff authored Oct 3, 2023
2 parents 4b11182 + dc076a6 commit 62bd718
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packet/probe_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ void report_packet_error(
printf("%d address-in-use\n", command_token);
} else if (errno == EADDRNOTAVAIL) {
printf("%d address-not-available\n", command_token);
} else if (errno == ETIMEDOUT) {
printf("%d wait-tcp-respone-timeout\n", command_token);
} else {
printf("%d unexpected-error errno %d\n", command_token, errno);
}
Expand Down

0 comments on commit 62bd718

Please sign in to comment.