Skip to content

Commit a277689

Browse files
committed
add missing parenthesis
1 parent c2caf18 commit a277689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,5 +570,5 @@ func getUDPFilter(addrs []net.IP, backendAddr net.IP, port uint16) string {
570570
srcUdpAddrsStr := strings.Join(srcUdpAddrs, " or ")
571571
dstUdpAddrsStr := strings.Join(dstUdpAddrs, " or ")
572572

573-
return fmt.Sprintf("(%s) and (%s) and (%s or dst host %s)", udpPort, srcUdpAddrsStr, dstUdpAddrsStr, backendAddr)
573+
return fmt.Sprintf("(%s) and (%s) and (%s or (dst host %s))", udpPort, srcUdpAddrsStr, dstUdpAddrsStr, backendAddr)
574574
}

0 commit comments

Comments
 (0)