From dc076a6c1561d3a8ad9d27cf2aca29fabaa9c20c Mon Sep 17 00:00:00 2001 From: Jian Cheng Date: Thu, 8 Jun 2023 20:28:29 +0800 Subject: [PATCH] Add error code ETIMEOUT(110) handle logic --- packet/probe_unix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packet/probe_unix.c b/packet/probe_unix.c index f7f393fc..8fd8cf1b 100644 --- a/packet/probe_unix.c +++ b/packet/probe_unix.c @@ -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); }