diff options
Diffstat (limited to 'plugin/pkg/replacer/replacer.go')
-rw-r--r-- | plugin/pkg/replacer/replacer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/pkg/replacer/replacer.go b/plugin/pkg/replacer/replacer.go index f72e1ec9c..3e2cbfcbd 100644 --- a/plugin/pkg/replacer/replacer.go +++ b/plugin/pkg/replacer/replacer.go @@ -38,7 +38,7 @@ var labels = []string{ "{rcode}", "{rsize}", "{duration}", - headerReplacer + "rrflags}", + headerReplacer + "rflags}", } // value returns the current value of label. @@ -89,7 +89,7 @@ func value(state request.Request, rr *dnstest.Recorder, label string) string { return EmptyValue } return strconv.FormatFloat(time.Since(rr.Start).Seconds(), 'f', -1, 64) + "s" - case headerReplacer + "rrflags}": + case headerReplacer + "rflags}": if rr != nil && rr.Msg != nil { return flagsToString(rr.Msg.MsgHdr) } |