summaryrefslogtreecommitdiffstats
path: root/rust/src/smb/smb.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/smb/smb.rs')
-rw-r--r--rust/src/smb/smb.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/smb/smb.rs b/rust/src/smb/smb.rs
index d6b0a56..45d2cdc 100644
--- a/rust/src/smb/smb.rs
+++ b/rust/src/smb/smb.rs
@@ -1045,7 +1045,7 @@ impl SMBState {
pub fn get_service_for_guid(&self, guid: &[u8]) -> (&'static str, bool)
{
- let (name, is_dcerpc) = match self.guid2name_map.get(&guid.to_vec()) {
+ let (name, is_dcerpc) = match self.guid2name_map.get(guid) {
Some(n) => {
let mut s = n.as_slice();
// skip leading \ if we have it