]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/stats: don't track 'unresolved' when 'servfail' does the same thing
authorMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 28 May 2015 15:25:33 +0000 (17:25 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Thu, 28 May 2015 15:25:33 +0000 (17:25 +0200)
modules/stats/stats.c

index dfc7cf576340d2fe6d9d20942f6ad9861ca9f0fe..e643290737561819d3f71747bae50d4278c2f007 100644 (file)
@@ -99,8 +99,6 @@ static int collect(knot_layer_t *ctx)
                if (elapsed > 1000.0) {
                        stat_add(map, "answer.slow", 1);
                }
-       } else {
-               stat_add(map, "answer.unresolved", 1);
        }
        /* Query parameters and transport mode */
        stat_add(map, "query.concurrent", -1);