mirror of
https://github.com/fosrl/newt.git
synced 2025-05-13 05:30:39 +01:00
Fix typo
This commit is contained in:
parent
9c3112f9bd
commit
76503f3f2c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ func NewProxyManager(tnet *netstack.Net) *ProxyManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddTarget adds a new target for proxying
|
// AddTarget adds as new target for proxying
|
||||||
func (pm *ProxyManager) AddTarget(proto, listenIP string, port int, targetAddr string) error {
|
func (pm *ProxyManager) AddTarget(proto, listenIP string, port int, targetAddr string) error {
|
||||||
pm.mutex.Lock()
|
pm.mutex.Lock()
|
||||||
defer pm.mutex.Unlock()
|
defer pm.mutex.Unlock()
|
||||||
|
|
Loading…
Reference in a new issue