mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 09:16:40 +00:00
Extend the proxy interface with RedirectTo function and implement it in Bind proxy
This commit is contained in:
@@ -95,6 +95,10 @@ func (p *WGUDPProxy) Pause() {
|
||||
p.pausedMu.Unlock()
|
||||
}
|
||||
|
||||
func (p *WGUDPProxy) RedirectTo(endpoint *net.UDPAddr) {
|
||||
// todo implement me
|
||||
}
|
||||
|
||||
// CloseConn close the localConn
|
||||
func (p *WGUDPProxy) CloseConn() error {
|
||||
if p.cancel == nil {
|
||||
|
||||
Reference in New Issue
Block a user