summaryrefslogtreecommitdiffstats
path: root/rust/src/dhcp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-24 01:56:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-24 01:56:37 +0000
commit8f4cc1aaed27bf561cad096d47c24903421c7ab7 (patch)
tree9f8ecf92240a8ef68527ec4b4349e0950d23dc3a /rust/src/dhcp
parentReleasing progress-linux version 1:7.0.4-1~progress7.99u1. (diff)
downloadsuricata-8f4cc1aaed27bf561cad096d47c24903421c7ab7.tar.xz
suricata-8f4cc1aaed27bf561cad096d47c24903421c7ab7.zip
Merging upstream version 1:7.0.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'rust/src/dhcp')
-rw-r--r--rust/src/dhcp/logger.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/dhcp/logger.rs b/rust/src/dhcp/logger.rs
index 3c86b1b..a9d8d98 100644
--- a/rust/src/dhcp/logger.rs
+++ b/rust/src/dhcp/logger.rs
@@ -89,7 +89,7 @@ impl DHCPLogger {
js.set_uint("id", header.txid as u64)?;
js.set_string("client_mac",
- &format_addr_hex(&header.clienthw.to_vec()))?;
+ &format_addr_hex(&header.clienthw))?;
js.set_string("assigned_ip", &dns_print_addr(&header.yourip))?;
if self.extended {