From 7a57ab179391949a8027cc14f60d15ecaea3a227 Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Sat, 14 Mar 2020 10:56:52 -0500 Subject: [PATCH] tailcfg: add a per-peer KeepAlive field --- tailcfg/tailcfg.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index cd2fef1bf..00ecaa74e 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -134,6 +134,8 @@ type Node struct { Created time.Time LastSeen *time.Time `json:",omitempty"` + KeepAlive bool // open and keep open a connection to this peer + MachineAuthorized bool // TODO(crawshaw): replace with MachineStatus // NOTE: any new fields containing pointers in this type