mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-30 05:15:33 +00:00
nmtui: include veth devices in activation dialog
This commit is contained in:
parent
187ff4c73b
commit
e74f506b81
|
@ -3258,6 +3258,8 @@ nm_connection_get_virtual_device_description(NMConnection *connection)
|
|||
display_type = _("WireGuard");
|
||||
else if (nm_streq(type, NM_SETTING_TUN_SETTING_NAME))
|
||||
display_type = _("TUN/TAP");
|
||||
else if (nm_streq(type, NM_SETTING_VETH_SETTING_NAME))
|
||||
display_type = _("Veth");
|
||||
|
||||
if (!iface || !display_type)
|
||||
return NULL;
|
||||
|
|
|
@ -96,6 +96,7 @@ static const char *device_sort_order[] = {"NMDeviceEthernet",
|
|||
"NMDeviceInfiniband",
|
||||
"NMDeviceWifi",
|
||||
NM_SETTING_VLAN_SETTING_NAME,
|
||||
NM_SETTING_VETH_SETTING_NAME,
|
||||
NM_SETTING_BOND_SETTING_NAME,
|
||||
NM_SETTING_TEAM_SETTING_NAME,
|
||||
NM_SETTING_BRIDGE_SETTING_NAME,
|
||||
|
|
Loading…
Reference in a new issue