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:
parent
b0a8c73a49
commit
b218b56063
1 changed files with 1 additions and 1 deletions
|
@ -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 == "")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue