summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/opcap.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/libopie2/opienet/opcap.cpp b/libopie2/opienet/opcap.cpp
index 8ec4f47..8184f21 100644
--- a/libopie2/opienet/opcap.cpp
+++ b/libopie2/opienet/opcap.cpp
@@ -150,5 +150,3 @@ QString OPacket::dump( int bpl ) const
int len = _hdr.caplen;
- QString str;
- str.sprintf( "\n<----- Packet #%04d Len = 0x%X (%d) ----->\n\n", index, len, len );
- str.append( "0000: " );
+ QString str( "000:" );
QString tmp;
@@ -169,3 +167,3 @@ QString OPacket::dump( int bpl ) const
str.append( '\n' );
- tmp.sprintf( "%04X: ", i+1 ); str.append( tmp );
+ tmp.sprintf( "%03X:", i+1 ); str.append( tmp );
bytes = "";