summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-08-15 16:13:59 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-08-15 16:13:59 +0000
commitc574bf0ced36bf94646a3d324c0d74c8820bc6fe (patch)
tree03c5b094bca570f522f77204482adc45a8f59b61
parentba59b3ca7e0c3251757e9c113e395fb64c659962 (diff)
downloadsamba-c574bf0ced36bf94646a3d324c0d74c8820bc6fe.tar.gz
samba-c574bf0ced36bf94646a3d324c0d74c8820bc6fe.tar.bz2
samba-c574bf0ced36bf94646a3d324c0d74c8820bc6fe.zip
Print more than 1 packet in hex mode
(This used to be commit 28f1d7b201932eb3864af3d71ec862670898822c)
-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);
}