diff options
Diffstat (limited to 'src/feature/stats/rephist.c')
-rw-r--r-- | src/feature/stats/rephist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/stats/rephist.c b/src/feature/stats/rephist.c index 01fa644b9e..50f6a11ae1 100644 --- a/src/feature/stats/rephist.c +++ b/src/feature/stats/rephist.c @@ -325,7 +325,8 @@ void rep_hist_note_dns_error(int type, uint8_t error) { dns_stats_t *dns_stats = get_dns_stats_by_type(type); - if (BUG(!dns_stats)) { + /* Unsupported DNS query type. */ + if (!dns_stats) { return; } |