From 28f1d7b201932eb3864af3d71ec862670898822c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 15 Aug 2003 16:13:59 +0000 Subject: [PATCH] Print more than 1 packet in hex mode --- source/utils/log2pcaphex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/log2pcaphex.c b/source/utils/log2pcaphex.c index 4e44161ebee..b3a34281a85 100644 --- a/source/utils/log2pcaphex.c +++ b/source/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); }