From 7343b45f5c2a915cd542ce365bcc9adc35cd8ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=B5=AB=E7=84=B6?= Date: Mon, 18 May 2020 11:01:21 +0800 Subject: [PATCH] Don't listen to 10001 --- include/ccnet/option.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ccnet/option.h b/include/ccnet/option.h index 160d917..41a5fe5 100644 --- a/include/ccnet/option.h +++ b/include/ccnet/option.h @@ -32,7 +32,7 @@ static inline char *GetDeafaultDir() #define MAX_USERNAME_LEN 20 #define MIN_USERNAME_LEN 2 -#define DEFAULT_PORT 10001 +#define DEFAULT_PORT 0 #define CHAT_APP "Chat" #define PEERMGR_APP "PeerMgr"