mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 16:52:44 +01:00
find_dline fixed
This commit is contained in:
parent
8454fac35c
commit
3610cbbbda
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi
|
|||
return 0;
|
||||
}
|
||||
|
||||
aconf = find_dline(addr, addr.ss_family);
|
||||
aconf = find_dline(addr, addr->ss_family);
|
||||
if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE))
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue