()
| 60 | } |
| 61 | |
| 62 | func (c TestNetworkingClient) ResolveDERPMap() (*tailcfg.DERPMap, error) { |
| 63 | if c.DERPMap != nil { |
| 64 | return c.DERPMap, nil |
| 65 | } |
| 66 | |
| 67 | return basicDERPMap(c.ServerAccessURL) |
| 68 | } |
| 69 | |
| 70 | type TestNetworkingProcess struct { |
| 71 | // NetNS to enter. If nil, the current network namespace is used. |