Added cross namespace TUN status detection
This commit is contained in:
parent
af464cff00
commit
471f7ff08e
5 changed files with 35 additions and 8 deletions
|
|
@ -321,8 +321,14 @@ func (peer *Peer) RoutineHandshakeInitiator() {
|
|||
goto BeginHandshakes
|
||||
|
||||
case <-timeout.C:
|
||||
// TODO: Clear source address for peer
|
||||
continue
|
||||
|
||||
// clear source address of peer
|
||||
|
||||
peer.mutex.Lock()
|
||||
if peer.endpoint != nil {
|
||||
peer.endpoint.ClearSrc()
|
||||
}
|
||||
peer.mutex.Unlock()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue