avoid SEGV on reconfig.
This commit is contained in:
parent
0e325bb097
commit
bc9da57ec7
1
gnu/dist/postfix/src/master/master_ent.c
vendored
1
gnu/dist/postfix/src/master/master_ent.c
vendored
@ -287,6 +287,7 @@ MASTER_SERV *get_master_ent()
|
||||
} else if (strcasecmp(var_inet_interfaces, DEF_INET_INTERFACES) == 0) {
|
||||
#ifdef INET6
|
||||
serv->addr_list.inet = wildcard_inet_addr_list();
|
||||
serv->addr_list_buf.inet = NULL;
|
||||
serv->listen_fd_count = serv->addr_list.inet->used;
|
||||
#else
|
||||
serv->addr_list.inet = 0; /* wild-card */
|
||||
|
Loading…
Reference in New Issue
Block a user