mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
chore: remove duplicate word in comments (#5592)
* chore: remove duplicate word in comments Signed-off-by: Abirdcfly <fp544037857@gmail.com> * auto go mod tidy Signed-off-by: coredns[bot] <bot@bot.coredns.io> Signed-off-by: Abirdcfly <fp544037857@gmail.com> Signed-off-by: coredns[bot] <bot@bot.coredns.io> Co-authored-by: coredns[bot] <bot@bot.coredns.io>
This commit is contained in:
@@ -593,7 +593,7 @@ func match(a, b string) bool {
|
||||
return strings.EqualFold(a, b)
|
||||
}
|
||||
|
||||
// matchPortAndProtocol matches port and protocol, permitting the the 'a' inputs to be wild
|
||||
// matchPortAndProtocol matches port and protocol, permitting the 'a' inputs to be wild
|
||||
func matchPortAndProtocol(aPort, bPort, aProtocol, bProtocol string) bool {
|
||||
return (match(aPort, bPort) || aPort == "") && (match(aProtocol, bProtocol) || aProtocol == "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user