diff options
author | 2023-04-25 23:25:07 +0800 | |
---|---|---|
committer | 2023-04-25 11:25:07 -0400 | |
commit | ee3999303dca34831ca67b684094d4b01cc2a20c (patch) | |
tree | 04e2acbf602a7a69f0351638c6c68fb05a57bd55 /plugin/file/wildcard.go | |
parent | 7bced74f51e9927f939b50504a13585d04caf434 (diff) | |
download | coredns-ee3999303dca34831ca67b684094d4b01cc2a20c.tar.gz coredns-ee3999303dca34831ca67b684094d4b01cc2a20c.tar.zst coredns-ee3999303dca34831ca67b684094d4b01cc2a20c.zip |
fix some comments (#6052)
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'plugin/file/wildcard.go')
-rw-r--r-- | plugin/file/wildcard.go | 2 |
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 { |