mirror of
https://github.com/openziti/ziti.git
synced 2026-10-15 16:41:12 +00:00
Merge pull request #578 from openziti/log-dial-success
Log local address for successful dials in xgress_edge_transport
This commit is contained in:
@@ -25,6 +25,7 @@ import (
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/transport"
|
||||
"github.com/openziti/sdk-golang/ziti/edge"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
type dialer struct {
|
||||
@@ -100,6 +101,8 @@ func (txd *dialer) Dial(destination string, sessionId *identity.TokenId, address
|
||||
return nil, err
|
||||
}
|
||||
|
||||
logrus.Infof("successful connection to %v from %v (s/%v)", destination, peer.Conn().LocalAddr(), sessionId.Token)
|
||||
|
||||
conn := newEdgeTransportXgressConn(peer)
|
||||
|
||||
peerData := make(xt.PeerData, 1)
|
||||
|
||||
Reference in New Issue
Block a user