mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Print more than 1 packet in hex mode
This commit is contained in:
parent
071850f87a
commit
28f1d7b201
@ -284,7 +284,7 @@ int main (int argc, char **argv)
|
||||
data_bytes_read = read_log_data(in, curpacket+data_offset, data_length);
|
||||
} else {
|
||||
if(in_packet){
|
||||
if(hexformat) { print_hex_packet(out, curpacket, curpacket_len); return; }
|
||||
if(hexformat) print_hex_packet(out, curpacket, curpacket_len);
|
||||
else print_netbios_packet(out, curpacket, curpacket_len, data_bytes_read+data_offset);
|
||||
free(curpacket);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user