Add log message

This commit is contained in:
Asim Aslam 2019-09-25 12:36:07 +01:00
parent 6c2b9d7636
commit 3d2bf7d4f6

View File

@ -220,6 +220,7 @@ func (t *tun) monitor() {
if len(delLinks) > 0 { if len(delLinks) > 0 {
t.Lock() t.Lock()
for _, node := range delLinks { for _, node := range delLinks {
log.Debugf("Tunnel deleting dead link for %s", node)
link := t.links[node] link := t.links[node]
link.Close() link.Close()
delete(t.links, node) delete(t.links, node)