summaryrefslogtreecommitdiff
path: root/libopie2/opienet/opcap.cpp
authormickeyl <mickeyl>2004-03-28 17:32:44 (UTC)
committer mickeyl <mickeyl>2004-03-28 17:32:44 (UTC)
commit1c151bedaa6cfcc8f10c7b5aa549de3e6628d271 (patch) (side-by-side diff)
tree23cb7abf06ff3092e629095546f1171761321716 /libopie2/opienet/opcap.cpp
parente2368b92a101437f7ed289d5ae62f7e7e2466344 (diff)
downloadopie-1c151bedaa6cfcc8f10c7b5aa549de3e6628d271.zip
opie-1c151bedaa6cfcc8f10c7b5aa549de3e6628d271.tar.gz
opie-1c151bedaa6cfcc8f10c7b5aa549de3e6628d271.tar.bz2
add some FIXMEs for later API revisions
Diffstat (limited to 'libopie2/opienet/opcap.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/opcap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opienet/opcap.cpp b/libopie2/opienet/opcap.cpp
index c5df041..93176c0 100644
--- a/libopie2/opienet/opcap.cpp
+++ b/libopie2/opienet/opcap.cpp
@@ -57,6 +57,8 @@ namespace Net {
OPacket::OPacket( int datalink, packetheaderstruct header, const unsigned char* data, QObject* parent )
:QObject( parent, "Generic" ), _hdr( header ), _data( data )
{
+ //FIXME: Copy the data structure here, because it isn't persistent. Check that.
+
qDebug( "OPacket::OPacket(): (Len %d, CapLen %d)" /*, ctime((const time_t*) header.ts.tv_sec)*/, header.len, header.caplen );
_end = (unsigned char*) data + header.len;