allow adding address

This commit is contained in:
afeiszli
2022-02-01 15:27:00 -05:00
parent eeb658595b
commit d2467e13f3
4 changed files with 27 additions and 12 deletions
+1
View File
@@ -77,6 +77,7 @@ func (config *ClientConfig) ReadConfig() {
nofile := false
//home, err := homedir.Dir()
home := ncutils.GetNetclientPathSpecific()
file := fmt.Sprintf(home + "netconfig-" + config.Network)
//f, err := os.Open(file)
f, err := os.OpenFile(file, os.O_RDONLY, 0600)