From f7e2a8d9ec3951fdd282ab9295aea917db9c7006 Mon Sep 17 00:00:00 2001 From: feiniks <36756310+feiniks@users.noreply.github.com> Date: Mon, 18 May 2020 18:03:04 +0800 Subject: [PATCH] Don't listen to 10001 (#49) --- 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"