From c574bf0ced36bf94646a3d324c0d74c8820bc6fe Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 15 Aug 2003 16:13:59 +0000 Subject: Print more than 1 packet in hex mode (This used to be commit 28f1d7b201932eb3864af3d71ec862670898822c) --- source3/utils/log2pcaphex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/log2pcaphex.c') diff --git a/source3/utils/log2pcaphex.c b/source3/utils/log2pcaphex.c index 4e44161ebe..b3a34281a8 100644 --- a/source3/utils/log2pcaphex.c +++ b/source3/utils/log2pcaphex.c @@ -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); } -- cgit