pdns
pdns copied to clipboard
dnsdist: Fix latency and counters update for UDP cache hits
Short description
The latency was counted twice, and the frontend-nxdomain, frontend-noerror and frontend-servfail was increased twice as well.
Checklist
I have:
- [x] read the CONTRIBUTING.md document
- [x] compiled this code
- [x] tested this code
- [ ] included documentation (including possible behaviour changes)
- [ ] documented the code
- [ ] added or modified regression test(s)
- [ ] added or modified unit test(s)