aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/wildcard.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/file/wildcard.go')
-rw-r--r--plugin/file/wildcard.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/wildcard.go b/plugin/file/wildcard.go
index 9526cb53f..7e8e806a1 100644
--- a/plugin/file/wildcard.go
+++ b/plugin/file/wildcard.go
@@ -2,7 +2,7 @@ package file
import "github.com/miekg/dns"
-// replaceWithWildcard replaces the left most label with '*'.
+// replaceWithAsteriskLabel replaces the left most label with '*'.
func replaceWithAsteriskLabel(qname string) (wildcard string) {
i, shot := dns.NextLabel(qname, 0)
if shot {