Avoid duplicate debug logs.
This commit is contained in:
parent
690640eeeb
commit
e7d8cdda44
@ -447,7 +447,7 @@ func (t *tun) keepalive(link *link) {
|
|||||||
// setupLink connects to node and returns link if successful
|
// setupLink connects to node and returns link if successful
|
||||||
// It returns error if the link failed to be established
|
// It returns error if the link failed to be established
|
||||||
func (t *tun) setupLink(node string) (*link, error) {
|
func (t *tun) setupLink(node string) (*link, error) {
|
||||||
log.Debugf("Tunnel dialing %s", node)
|
log.Debugf("Tunnel setting up link: %s", node)
|
||||||
c, err := t.options.Transport.Dial(node)
|
c, err := t.options.Transport.Dial(node)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Debugf("Tunnel failed to connect to %s: %v", node, err)
|
log.Debugf("Tunnel failed to connect to %s: %v", node, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user