1
0
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:
Jelmer Vernooij 0001-01-01 00:00:00 +00:00
parent 071850f87a
commit 28f1d7b201

View File

@ -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);
}