You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust/src/dhcp
Philippe Antoine f7cde8f00e rust/smb: fix clippy nightly warning
error: unnecessary use of `to_vec`
    --> src/smb/smb.rs:1048:62
     |
1048 |         let (name, is_dcerpc) = match self.guid2name_map.get(&guid.to_vec()) {
     |                                                              ^^^^^^^^^^^^^^ help: replace it with: `guid`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
     = note: `#[deny(clippy::unnecessary_to_owned)]` implied by `#[deny(warnings)]`

And also other uses of to_vec() on already Vec
3 years ago
..
README.txt rust/dhcp: Rust based DHCP decoder and logger. 8 years ago
ack.pcap rust/dhcp: Rust based DHCP decoder and logger. 8 years ago
detect.rs dhcp: adds renewal-time keyword 4 years ago
dhcp.rs dhcp: Log Vendor Client Identifier (dhcp option 60) 3 years ago
discover.pcap rust/dhcp: Rust based DHCP decoder and logger. 8 years ago
logger.rs rust/smb: fix clippy nightly warning 3 years ago
mod.rs rust/doc: add docstring to rust module files. 3 years ago
offer.pcap rust/dhcp: Rust based DHCP decoder and logger. 8 years ago
parser.rs rust: fix assertions_on_constants for assert!(false) 3 years ago
request.pcap rust/dhcp: Rust based DHCP decoder and logger. 8 years ago

README.txt

These test pcap files are individual packets broken out of a pcap
containing 4 DHCP messages. The original source of the PCAP file is

https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=get&target=dhcp.pcap