()
| 104 | } |
| 105 | |
| 106 | func (m *Manager) getConfigureDevice() configureDeviceFunc { |
| 107 | if m.configure == nil { |
| 108 | return defaultConfigureDevice |
| 109 | } |
| 110 | return m.configure |
| 111 | } |
| 112 | |
| 113 | func buildInitialWGConfig(privateKey wgtypes.Key, listenPort int, peers []wgtypes.PeerConfig) wgtypes.Config { |
| 114 | config := wgtypes.Config{ |
no outgoing calls
no test coverage detected