summaryrefslogtreecommitdiffstats
path: root/src/bin/auth/statistics.cc.pre
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/auth/statistics.cc.pre')
-rw-r--r--src/bin/auth/statistics.cc.pre14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/auth/statistics.cc.pre b/src/bin/auth/statistics.cc.pre
index 7df39de07d..85081c60a8 100644
--- a/src/bin/auth/statistics.cc.pre
+++ b/src/bin/auth/statistics.cc.pre
@@ -132,10 +132,10 @@ Counters::incRequest(const MessageAttributes& msgattrs) {
}
// request TSIG
- if (msgattrs.getRequestSigTSIG()) {
+ if (msgattrs.requestHasTSIG()) {
server_msg_counter_.inc(MSG_REQUEST_TSIG);
}
- if (msgattrs.getRequestSigBadSig()) {
+ if (msgattrs.requestHasBadSig()) {
server_msg_counter_.inc(MSG_REQUEST_BADSIG);
// If signature validation is failed, no other query attributes are
// reliable. Skip processing of the rest of query counters.
@@ -143,12 +143,12 @@ Counters::incRequest(const MessageAttributes& msgattrs) {
}
// request EDNS
- if (msgattrs.getRequestEDNS0()) {
+ if (msgattrs.requestHasEDNS0()) {
server_msg_counter_.inc(MSG_REQUEST_EDNS0);
}
// request DNSSEC
- if (msgattrs.getRequestDO()) {
+ if (msgattrs.requestHasDO()) {
server_msg_counter_.inc(MSG_REQUEST_DNSSEC_OK);
}
@@ -170,7 +170,7 @@ Counters::incResponse(const MessageAttributes& msgattrs,
server_msg_counter_.inc(MSG_RESPONSE);
// response truncated
- if (msgattrs.getResponseTruncated()) {
+ if (msgattrs.responseIsTruncated()) {
server_msg_counter_.inc(MSG_RESPONSE_TRUNCATED);
}
@@ -181,7 +181,7 @@ Counters::incResponse(const MessageAttributes& msgattrs,
}
// response TSIG
- if (msgattrs.getResponseTSIG()) {
+ if (msgattrs.responseHasTSIG()) {
server_msg_counter_.inc(MSG_RESPONSE_TSIG);
}
@@ -204,7 +204,7 @@ Counters::incResponse(const MessageAttributes& msgattrs,
isc_throw(isc::Unexpected, "Opcode of the request is empty while it is"
" responded");
}
- if (!msgattrs.getRequestSigBadSig() &&
+ if (!msgattrs.requestHasBadSig() &&
opcode.get() == Opcode::QUERY())
{
// compound attributes