bool needXPF = g_XPFAcl.match(conn->d_remote);
string requestorId;
string deviceId;
+ bool logQuery = false;
#ifdef HAVE_PROTOBUF
auto luaconfsLocal = g_luaconfs.getLocal();
if (checkProtobufExport(luaconfsLocal)) {
needECS = true;
}
- bool logQuery = t_protobufServer && luaconfsLocal->protobufExportConfig.logQueries;
+ logQuery = t_protobufServer && luaconfsLocal->protobufExportConfig.logQueries;
#endif
if(needECS || needXPF || (t_pdl && (t_pdl->d_gettag_ffi || t_pdl->d_gettag))) {
ComboAddress destination = destaddr;
string requestorId;
string deviceId;
+ bool logQuery = false;
#ifdef HAVE_PROTOBUF
boost::uuids::uuid uniqueId;
auto luaconfsLocal = g_luaconfs.getLocal();
} else if (checkOutgoingProtobufExport(luaconfsLocal)) {
uniqueId = (*t_uuidGenerator)();
}
- bool logQuery = t_protobufServer && luaconfsLocal->protobufExportConfig.logQueries;
+ logQuery = t_protobufServer && luaconfsLocal->protobufExportConfig.logQueries;
bool logResponse = t_protobufServer && luaconfsLocal->protobufExportConfig.logResponses;
#endif
EDNSSubnetOpts ednssubnet;