Brad Fitzpatrick
fd7fddd44f
control/controlclient: add debug knob to force node to only IPv6 self addr
...
Updates #2268
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-06-28 15:26:58 -07:00
Brad Fitzpatrick
e9d24341e0
tailcfg, control/controlclient: accept nil MapResponse.Node (mapver 18)
...
All MapResponse fields can not be omitted and are tagged "omitempty".
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-19 11:53:21 -07:00
Brad Fitzpatrick
3739cf22b0
tailcfg, control/controlclient: allow empty MapResponse.Domain (mapver17)
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-19 09:31:21 -07:00
Brad Fitzpatrick
5092cffd1f
control/controlclient: add start of some MapResponse->NetworkMap tests
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-18 20:27:51 -07:00
Brad Fitzpatrick
aef3c0350c
control/controlclient: break direct.go into map.go (+tests), add mapSession
...
So the NetworkMap-from-incremental-MapResponses can be tested easily.
And because direct.go was getting too big.
No change in behavior at this point. Just movement.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-18 19:56:03 -07:00