++iter->second.stats.netmaskMatches;
}
}
+ if (t_remotes) {
+ t_remotes->push_back(conn->d_source);
+ }
if (t_allowFrom && !t_allowFrom->match(&conn->d_mappedSource)) {
if (!g_quiet) {
SLOG(g_log << Logger::Error << "[" << g_multiTasker->getTid() << "] dropping TCP query from " << conn->d_mappedSource.toString() << ", address not matched by allow-from" << endl,
return;
}
- if (t_remotes) {
- t_remotes->push_back(addr);
- }
-
bool fromProxyProtocolSource = expectProxyProtocol(addr);
ComboAddress mappedSource = addr;
if (!fromProxyProtocolSource && t_proxyMapping) {