ip_addresses_to_variant
Description:
[ Version ( since = "1.42" ) ]
public unowned Variant ip_addresses_to_variant (GenericArray<IPAddress> addresses)
Utility function to convert a GenericArray of IPAddress objects representing IPv4 or IPv6 addresses into a Variant of type 'aa{sv}' representing an array of new-style NetworkManager IP addresses.
All addresses will include "address" (an IP address string), and "prefix" (a uint). Some addresses may include additional attributes.
Parameters:
addresses |
an array of IPAddress objects |
Returns:
a new floating Variant representing |
Namespace: NM.Utils
Package: libnm