From 4ffdd52f3e02c8c1810f949813610ac0510aed5e Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Tue, 8 Oct 2024 18:40:41 +0700 Subject: fix bug tcp transport fail Signed-off-by: fadhil riyanto --- main2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main2.c b/main2.c index 9a49a56..f661ec9 100644 --- a/main2.c +++ b/main2.c @@ -660,7 +660,7 @@ static int create_server2server_conn(int *fdptr, int atyp, u_int8_t *addr, u_int perror("connect()"); log_error("errno: %d", ret); - if (ret == 101) { + if (ret == 111) { return 3; } // return -1; -- cgit v1.2.3