Fix some part of IPv6 dline checking.
This commit is contained in:
parent
060ea02eec
commit
bcd8cc02e1
|
@ -512,7 +512,7 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
aconf = find_dline(addr, AF_INET);
|
aconf = find_dline(addr, addr->sa_family);
|
||||||
if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE))
|
if(aconf != NULL && (aconf->status & CONF_EXEMPTDLINE))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue