diff --git a/main.go b/main.go index 27cae00..7e766cb 100644 --- a/main.go +++ b/main.go @@ -17,4 +17,7 @@ func main() { } fmt.Printf("Device %s has %d peers\n", dev.Name, len(dev.Peers)) + for _, v := range dev.Peers { + fmt.Printf("AllowedIP: %s", &v.AllowedIPs[0]) + } }