find_dline fixed
This commit is contained in:
parent
2bd806b01c
commit
0632be9b47
|
@ -509,7 +509,7 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
aconf = find_dline(addr, addr.ss_family);
|
aconf = find_dline(addr, addr->ss_family);
|
||||||
if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE))
|
if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue