l3cfg: fix crash in nm_l3_config_data_log() by mixing up arguments

This commit is contained in:
Thomas Haller 2021-05-19 16:50:41 +02:00
parent 2d0ac5f5fe
commit acfc977974
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -251,7 +251,7 @@ _garray_inaddr_get(GArray *arr, guint *out_len)
}
static gconstpointer
_garray_inaddr_at(GArray *arr, guint idx, gboolean IS_IPv4)
_garray_inaddr_at(GArray *arr, gboolean IS_IPv4, guint idx)
{
nm_assert(arr);
nm_assert(idx < arr->len);