summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/log2pcaphex.c2
1 files changed, 1 insertions, 1 deletions
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);
}