Skip to content
Snippets Groups Projects
Commit eaed35cd authored by Sebastien Boutelier's avatar Sebastien Boutelier
Browse files

nettoyage de table de hashage après un BIND anonymous réussi.

parent 76183dfd
Branches
Tags
No related merge requests found
......@@ -76,7 +76,7 @@ fn com_result(line: String){
if &caps["err"] == "err=0" {
hashmap::set_val("bind",caps["con"].to_string(),val1.clone());
}
if val1 == "\"\"" { return; }
if val1 == "\"\"" { hashmap::removeop(key.clone()); return; }
linelog = format!("ID={} SRC={} BIND={} {} -> {}",con,ip,val1,cmd,err);
},
"UNBIND" => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment