Remove isAutoconf option to GenerateConfig

This commit is contained in:
Neil Alexander 2019-03-12 19:18:43 +00:00
parent 4062c93e18
commit 41872820c3
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
3 changed files with 7 additions and 7 deletions

View file

@ -61,7 +61,7 @@ type SwitchOptions struct {
// or whether to generate a random port number. The only side effect of setting
// isAutoconf is that the TCP and UDP ports will likely end up with different
// port numbers.
func GenerateConfig(isAutoconf bool) *NodeConfig {
func GenerateConfig() *NodeConfig {
// Generate encryption keys.
bpub, bpriv := crypto.NewBoxKeys()
spub, spriv := crypto.NewSigKeys()