Skip to content

Commit 8365c71

Browse files
committed
fix firmware making decisions on the ports without consent
1 parent a277689 commit 8365c71

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
@@ -559,7 +559,7 @@ func getIPIPfilter() string {
559559
}
560560

561561
func getUDPFilter(addrs []net.IP, backendAddr net.IP, port uint16) string {
562-
udpPort := fmt.Sprintf("udp port %d", port)
562+
udpPort := "udp" // TODO use proper ports for the filter
563563
srcUdpAddrs := common.Map(addrs, func(addr net.IP) string {
564564
return fmt.Sprintf("(src host %s)", addr)
565565
})

0 commit comments

Comments
 (0)