Fix accepting connections from hosts with "long" IPv6 address
This could fail because struct player member hostaddr had insufficient
space. Should have been enlarged in commit 19d88af3
.
This commit is contained in:
parent
0dbb5bfd75
commit
ee01ac1912
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ enum player_sleep {
|
|||
struct player {
|
||||
struct emp_qelem queue;
|
||||
empth_t *proc;
|
||||
char hostaddr[32];
|
||||
char hostaddr[46];
|
||||
char hostname[512]; /* may be empty */
|
||||
char client[128]; /* may be empty */
|
||||
char userid[32]; /* may be empty */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue