Commit 0819563e authored by Beniamino Galvani's avatar Beniamino Galvani

ifcfg-rh: fix reading SR-IOV settings

Fixes: d48f389c
parent 87bed489
Pipeline #12124 failed with stages
in 15 minutes and 6 seconds
......@@ -2286,7 +2286,7 @@ make_sriov_setting (shvarFile *ifcfg)
total_vfs = NM_MAX (total_vfs, 0);
g_object_set (s_sriov,
NM_SETTING_SRIOV_TOTAL_VFS, total_vfs,
NM_SETTING_SRIOV_TOTAL_VFS, (guint) total_vfs,
NM_SETTING_SRIOV_VFS, vfs,
NM_SETTING_SRIOV_AUTOPROBE_DRIVERS, autoprobe_drivers,
NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment