FIX: rstp proto mode & tutk state

Change-Id: I3d8b4a278426644bb716f18d7b8259032d22e444
This commit is contained in:
chunmao.guo 2023-05-17 14:05:23 +08:00 committed by Lane.Wei
parent eb3a97f55b
commit e4d4ac01d6
5 changed files with 41 additions and 6 deletions

View file

@ -203,8 +203,8 @@ void MediaFilePanel::SetMachineObject(MachineObject* obj)
m_lan_mode = obj->is_lan_mode_printer();
m_lan_ip = obj->dev_ip;
m_lan_passwd = obj->get_access_code();
m_local_support = obj->is_function_supported(PrinterFunction::FUNC_LOCAL_TUNNEL);
m_remote_support = obj->is_function_supported(PrinterFunction::FUNC_REMOTE_TUNNEL);
m_local_support = obj->has_local_file_proto();
m_remote_support = obj->has_remote_file_proto();
} else {
m_supported = false;
m_lan_mode = false;