author | mickeyl <mickeyl> | 2004-05-02 18:14:46 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-05-02 18:14:46 (UTC) |
commit | 3e8fab5fddb3a38d93eaca1a8d69d8f668c7cd99 (patch) (side-by-side diff) | |
tree | 4ea10a8f334f5af1133c9e762462701fb38b4f76 /libopie2 | |
parent | 1ddcf3566b3339bb649b07b64bd5802b735f37ba (diff) | |
download | opie-3e8fab5fddb3a38d93eaca1a8d69d8f668c7cd99.zip opie-3e8fab5fddb3a38d93eaca1a8d69d8f668c7cd99.tar.gz opie-3e8fab5fddb3a38d93eaca1a8d69d8f668c7cd99.tar.bz2 |
fix one odebug warning
-rw-r--r-- | libopie2/opienet/opcap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opienet/opcap.cpp b/libopie2/opienet/opcap.cpp index a9dc577..8ec4f47 100644 --- a/libopie2/opienet/opcap.cpp +++ b/libopie2/opienet/opcap.cpp @@ -194,26 +194,26 @@ QTextStream& operator<<( QTextStream& s, const OPacket& p ) s << p.dumpStructure(); } /*====================================================================================== * OEthernetPacket *======================================================================================*/ OEthernetPacket::OEthernetPacket( const unsigned char* end, const struct ether_header* data, QObject* parent ) :QObject( parent, "Ethernet" ), _ether( data ) { - odebug << "Source = " << sourceAddress().toString(); - odebug << "Destination = " << destinationAddress().toString(); + odebug << "Source = " << sourceAddress().toString() << oendl; + odebug << "Destination = " << destinationAddress().toString() << oendl; if ( sourceAddress() == OMacAddress::broadcast ) odebug << "Source is broadcast address" << oendl; if ( destinationAddress() == OMacAddress::broadcast ) odebug << "Destination is broadcast address" << oendl; switch ( type() ) { case ETHERTYPE_IP: new OIPPacket( end, (const struct iphdr*) (data+1), this ); break; case ETHERTYPE_ARP: new OARPPacket( end, (const struct myarphdr*) (data+1), this ); break; case ETHERTYPE_REVARP: { odebug << "OPacket::OPacket(): Received Ethernet Packet : Type = RARP" << oendl; break; } default: odebug << "OPacket::OPacket(): Received Ethernet Packet : Type = UNKNOWN" << oendl; |