diff options
Diffstat (limited to 'plugin/file/zone.go')
-rw-r--r-- | plugin/file/zone.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/zone.go b/plugin/file/zone.go index 6e1ec6d69..5aa72175f 100644 --- a/plugin/file/zone.go +++ b/plugin/file/zone.go @@ -203,7 +203,7 @@ func (z *Zone) nameFromRight(qname string, i int) (string, bool) { } k := 0 - shot := false + var shot bool for j := 1; j <= i; j++ { k, shot = dns.PrevLabel(qname, j+z.origLen) if shot { |