Skip to content

Commit

Permalink
Delete unused NTLM log field
Browse files Browse the repository at this point in the history
  • Loading branch information
jknpark committed Jan 2, 2024
1 parent b818636 commit d6934a2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/ingest/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,17 +381,14 @@ pub struct Ntlm {
pub username: String,
pub hostname: String,
pub domainname: String,
pub server_nb_computer_name: String,
pub server_dns_computer_name: String,
pub server_tree_name: String,
pub success: String,
}

impl Display for Ntlm {
fn fmt(&self, f: &mut Formatter) -> std::fmt::Result {
write!(
f,
"{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}",
"{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}",
self.orig_addr,
self.orig_port,
self.resp_addr,
Expand All @@ -402,9 +399,6 @@ impl Display for Ntlm {
as_str_or_default(&self.username),
as_str_or_default(&self.hostname),
as_str_or_default(&self.domainname),
as_str_or_default(&self.server_nb_computer_name),
as_str_or_default(&self.server_dns_computer_name),
as_str_or_default(&self.server_tree_name),
as_str_or_default(&self.success),
)
}
Expand Down

0 comments on commit d6934a2

Please sign in to comment.