Added device allowed ips log

This commit is contained in:
2026-03-01 21:31:24 +01:00
parent e6098c9b50
commit df6f40843c

View File

@@ -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])
}
}