mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
SMB decoder output can now be stored in a file and does not have to go to stdout.
Added DUMPSMBLEVEL option which controls how much raw data output is produced. By default (level 0) no raw data output is produced at all. Level 1 will print the contents of the command data area. Level 2 will print the raw data used by the respective commands, with any management/control information stripped off.
This commit is contained in:
@@ -200,7 +200,7 @@ extern void dump_smb(const char *file_name,int line_number,int is_raw_data,
|
||||
const void * packet,int length,enum smb_packet_source_t smb_packet_source,
|
||||
int max_buffer_size);
|
||||
|
||||
extern void control_smb_dump(int enable);
|
||||
extern void control_smb_dump(int enable,int level,const char * file_name);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user