Skip to content

Commit

Permalink
Add error code ETIMEOUT(110) handle logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Jian Cheng committed Jun 8, 2023
1 parent ab6f80f commit dc076a6
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 @@ -543,6 +543,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 dc076a6

Please sign in to comment.