mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 22:09:09 +02:00
Remove unused function from eBPF proxy
This commit is contained in:
@@ -67,16 +67,6 @@ func (p *ProxyWrapper) Pause() {
|
|||||||
p.pausedMu.Unlock()
|
p.pausedMu.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *ProxyWrapper) Resume() {
|
|
||||||
if p.remoteConn == nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
p.pausedMu.Lock()
|
|
||||||
p.paused = false
|
|
||||||
p.pausedMu.Unlock()
|
|
||||||
}
|
|
||||||
|
|
||||||
// CloseConn close the remoteConn and automatically remove the conn instance from the map
|
// CloseConn close the remoteConn and automatically remove the conn instance from the map
|
||||||
func (e *ProxyWrapper) CloseConn() error {
|
func (e *ProxyWrapper) CloseConn() error {
|
||||||
if e.cancel == nil {
|
if e.cancel == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user