mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 09:16:40 +00:00
Implement redirect logic in UDP proxy
This commit is contained in:
@@ -92,7 +92,7 @@ func (p *ProxyBind) Pause() {
|
||||
p.pausedCond.L.Unlock()
|
||||
}
|
||||
|
||||
func (p *ProxyBind) RedirectTo(endpoint *net.UDPAddr) {
|
||||
func (p *ProxyBind) RedirectAs(endpoint *net.UDPAddr) {
|
||||
p.pausedCond.L.Lock()
|
||||
p.paused = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user