updating models

This commit is contained in:
afeiszli
2021-04-14 13:54:02 -04:00
parent 2861afb1cf
commit 675a6ad284
3 changed files with 5 additions and 0 deletions

View File

@@ -1278,6 +1278,7 @@ func getPeers(macaddress string, network string, server string) ([]wgtypes.PeerC
fmt.Println("")
fmt.Printf(" Gateway?: ",res.Peers.Isgateway)
fmt.Println("")
fmt.Println(" Gate Range: " + res.Peers.Gatewayrange)
pubkey, err := wgtypes.ParseKey(res.Peers.Publickey)
if err != nil {
fmt.Println("error parsing key")