summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-10-08 18:40:41 +0700
committerfadhil riyanto <me@fadev.org>2024-10-08 18:40:41 +0700
commit4ffdd52f3e02c8c1810f949813610ac0510aed5e (patch)
treea2cc2e123bcaab4d52f65bf8116a01f3bcb54e90
parentc869546ad8688dbb43329bd19e06e6ed8ac1e754 (diff)
fix bug tcp transport fail
Signed-off-by: fadhil riyanto <me@fadev.org>
-rw-r--r--main2.c2
1 files changed, 1 insertions, 1 deletions
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;