MCPcopy
hub / github.com/tailscale/tailscale / netmapForResponse

Method netmapForResponse

control/controlclient/map_test.go:404–407  ·  view source on GitHub ↗
(res *tailcfg.MapResponse)

Source from the content-addressed store, hash-verified

402}
403
404func (ms *mapSession) netmapForResponse(res *tailcfg.MapResponse) *netmap.NetworkMap {
405 ms.updateStateFromResponse(res)
406 return ms.netmap()
407}
408
409func TestNetmapForResponse(t *testing.T) {
410 t.Run("implicit_packetfilter", func(t *testing.T) {

Calls 2

netmapMethod · 0.95

Tested by

no test coverage detected