file audit

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2022-12-26 09:48:08 +08:00
1 parent 8c86a82422
commit b3114d4147
7 files changed
+90 -25

No files matched your search

+2 -2
View File
@@ -894,9 +894,9 @@ pub fn session_restart_remote_device(id: String) {
}
}
pub fn session_get_audit_server_sync(id: String) -> SyncReturn<String> {
pub fn session_get_audit_server_sync(id: String, typ: String) -> SyncReturn<String> {
let res = if let Some(session) = SESSIONS.read().unwrap().get(&id) {
session.get_audit_server()
session.get_audit_server(typ)
} else {
"".to_owned()
};