mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-06 16:30:27 +08:00
refractor
This commit is contained in:
@@ -86,7 +86,7 @@ func (l *Link) Write(p *head.Packet, istransfer bool) (n int, err error) {
|
||||
}
|
||||
logrus.Debugln("[link] write", len(d), "bytes data")
|
||||
if err == nil {
|
||||
peerlink := l.me.router.NextHop(l.peerip.String() + "/32")
|
||||
peerlink := l.me.router.NextHop(l.peerip.String())
|
||||
if peerlink != nil {
|
||||
peerep := peerlink.endpoint
|
||||
if peerep == nil {
|
||||
|
||||
Reference in New Issue
Block a user