Utility function to convert a Variant representing a list of new-style NetworkManager IPv4 or IPv6 addresses (as described in the documentation for ip_routes_to_variant) into a GenericArray of IPRoute objects.
Invalid routes are discarded but the valid routes are still returned.
Since 1.46, an empty list is returned if the variant type is not valid (before it was checked as assertion)
| value |
a Variant of type 'aa{sv}' |
| family |
an IP address family |
|
a newly allocated GenericArray of IPRoute objects |