How do you update ConnectionSettings? I want to be able to update the IPV4 address-data, but I do not see any way of doing it other than recreating the ConnectingSettings Map.
activeDevConn, _ := device.GetPropertyActiveConnection()
conn, _ := activeDevConn.GetPropertyConnection()
settings, _ := conn.GetSettings()
// If I simply write back the config obtained by the GetSettings method, the following error is called when calling conn.Update()
err := conn.Update(settings)
fmt.Println(err.Error())
//ipv6.addresses: can't set property of type 'a(ayuay)' from value of type 'aav'
My guess is we need to call the DbusVariant method? Any ideas?
How do you update ConnectionSettings? I want to be able to update the IPV4 address-data, but I do not see any way of doing it other than recreating the ConnectingSettings Map.
My guess is we need to call the DbusVariant method? Any ideas?