git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba59b3c
)
Print more than 1 packet in hex mode
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 15 Aug 2003 16:13:59 +0000
(16:13 +0000)
committer
Jelmer Vernooij
<jelmer@samba.org>
Fri, 15 Aug 2003 16:13:59 +0000
(16:13 +0000)
(This used to be commit
28f1d7b201932eb3864af3d71ec862670898822c
)
source3/utils/log2pcaphex.c
patch
|
blob
|
history
diff --git
a/source3/utils/log2pcaphex.c
b/source3/utils/log2pcaphex.c
index 4e44161ebee0d0d69e2f3e925b8b7e0659950643..b3a34281a85f086c857c5a70207883b5ae5d45bc 100644
(file)
--- 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);
}