}
func NewClient(conf Configuration, verifier *govpn.Verifier, termSignal chan os.Signal) *Client {
- client := &Client{
+ client := Client{
idsCache: govpn.NewMACCache(),
firstUpCall: true,
config: conf,
}
confs := map[govpn.PeerId]*govpn.PeerConf{*verifier.Id: conf.Peer}
client.idsCache.Update(&confs)
- return client
+ return &client
}