mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Restore/rename field in SMB2::Fscontrol record type
b41a4bf06d
removed a field from this record
because it had a duplicate name as another field. The field does need to
exist, but it needs the correct name.
This commit is contained in:
parent
9a96e3b52a
commit
84ac362c67
4 changed files with 17 additions and 1 deletions
11
testing/btest/scripts/base/protocols/smb/smb2-fscontrol.test
Normal file
11
testing/btest/scripts/base/protocols/smb/smb2-fscontrol.test
Normal file
|
@ -0,0 +1,11 @@
|
|||
# @TEST-EXEC: zeek -r $TRACES/smb/smb2_fscontrol.pcap %INPUT > out
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
@load base/protocols/smb
|
||||
|
||||
event smb2_file_fscontrol(c: connection, hdr: SMB2::Header, file_id: SMB2::GUID, fs_control: SMB2::Fscontrol)
|
||||
{
|
||||
print hdr;
|
||||
print file_id;
|
||||
print fs_control;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue