nmtui: include veth devices in activation dialog
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user