mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-04 16:33:49 +08:00
updating models
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user