ovs/interface: actually allow dpdk type interfaces

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/203
This commit is contained in:
Lubomir Rintel
2019-07-12 18:07:30 +02:00
parent 12d9c3eb18
commit eb7c47b3fc

View File

@@ -95,6 +95,7 @@ check_connection_compatible (NMDevice *device, NMConnection *connection, GError
s_ovs_iface = nm_connection_get_setting_ovs_interface (connection); s_ovs_iface = nm_connection_get_setting_ovs_interface (connection);
if (!NM_IN_STRSET (nm_setting_ovs_interface_get_interface_type (s_ovs_iface), if (!NM_IN_STRSET (nm_setting_ovs_interface_get_interface_type (s_ovs_iface),
"dpdk",
"internal", "internal",
"patch")) { "patch")) {
nm_utils_error_set_literal (error, NM_UTILS_ERROR_CONNECTION_AVAILABLE_TEMPORARY, nm_utils_error_set_literal (error, NM_UTILS_ERROR_CONNECTION_AVAILABLE_TEMPORARY,