diff options
author | Rickard Green <[email protected]> | 2019-05-06 15:36:20 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2019-05-06 15:36:20 +0200 |
commit | 3e898a8cdc87cadaa949960b7b042c5266c63791 (patch) | |
tree | 06609648281e48b6367fc3abcbcc8412a719a42d /lib/erl_interface/include/ei.h | |
parent | 008e649a6b74db6adc520095a8168d1a3e4f5755 (diff) | |
parent | e05ce24868c8391103faea7de3f230fa8f2ce0a2 (diff) | |
download | otp-3e898a8cdc87cadaa949960b7b042c5266c63791.tar.gz otp-3e898a8cdc87cadaa949960b7b042c5266c63791.tar.bz2 otp-3e898a8cdc87cadaa949960b7b042c5266c63791.zip |
Merge branch 'rickard/ei-nodename/OTP-15781' into maint
* rickard/ei-nodename/OTP-15781:
Increase max number of node name characters to 256
Diffstat (limited to 'lib/erl_interface/include/ei.h')
-rw-r--r-- | lib/erl_interface/include/ei.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/erl_interface/include/ei.h b/lib/erl_interface/include/ei.h index ca4960b252..947726208e 100644 --- a/lib/erl_interface/include/ei.h +++ b/lib/erl_interface/include/ei.h @@ -191,12 +191,12 @@ extern volatile int __erl_errno; * library and when using the library we set a value that we use */ -#define EI_MAXHOSTNAMELEN 64 -#define EI_MAXALIVELEN 63 #define EI_MAX_COOKIE_SIZE 512 #define MAXATOMLEN (255 + 1) #define MAXATOMLEN_UTF8 (255*4 + 1) -#define MAXNODELEN EI_MAXALIVELEN+1+EI_MAXHOSTNAMELEN +#define EI_MAXHOSTNAMELEN (MAXATOMLEN - 2) +#define EI_MAXALIVELEN (MAXATOMLEN - 2) +#define MAXNODELEN MAXATOMLEN typedef enum { ERLANG_ASCII = 1, |