(cfg *router.Config)
| 22 | } |
| 23 | |
| 24 | func (v *vpnRouter) Set(cfg *router.Config) error { |
| 25 | if cfg == nil { |
| 26 | return nil |
| 27 | } |
| 28 | req := convertRouterConfig(*cfg) |
| 29 | return v.tunnel.ApplyNetworkSettings(v.tunnel.ctx, req) |
| 30 | } |
| 31 | |
| 32 | func (*vpnRouter) Close() error { |
| 33 | // There's no cleanup that we need to initiate from within the tunnel. |
nothing calls this directly
no test coverage detected