From dde1904b9182afe84ead986219ce1839df3a6b47 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Fri, 23 Apr 2021 23:14:30 -0700 Subject: [PATCH] Don't repeat the "cost" field in smb_msghdr_str_list() --- src/smblib/smbdump.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/smblib/smbdump.c b/src/smblib/smbdump.c index ccd753905a..048ab028a2 100644 --- a/src/smblib/smbdump.c +++ b/src/smblib/smbdump.c @@ -158,8 +158,6 @@ str_list_t smb_msghdr_str_list(smbmsg_t* msg) tt=msg->expiration; strListAppendFormat(&list, HFIELD_NAME_FMT "%.24s", "expiration", ctime_r(&tt, tmp)); } - if(msg->cost) - strListAppendFormat(&list, HFIELD_NAME_FMT "%u", "cost", msg->cost); /* data fields */ strListAppendFormat(&list, HFIELD_NAME_FMT "%06"PRIX32"h" ,"data_offset" ,msg->hdr.offset); -- GitLab