Skip to content

Commit 9cd05df

Browse files
committed
Add inactivity ping
1 parent 8afca6c commit 9cd05df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tailnet/conn.go

+1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ func (c *Conn) UpdateNodes(nodes []*Node) error {
318318
Endpoints: node.Endpoints,
319319
DERP: fmt.Sprintf("%s:%d", tailcfg.DerpMagicIP, node.PreferredDERP),
320320
Hostinfo: hostinfo.New().View(),
321+
KeepAlive: true,
321322
}
322323
}
323324
c.netMap.Peers = make([]*tailcfg.Node, 0, len(peerMap))

0 commit comments

Comments
 (0)