summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-05-19 12:03:37 (UTC)
committer mickeyl <mickeyl>2005-05-19 12:03:37 (UTC)
commit743204c7f71fe785a1876d95c5d880cfdff44592 (patch) (side-by-side diff)
tree62d207b30da8b3c4589e2a9b9a3fba640aa4f421
parent50cc0698e54f1f69591cc89be34ffcb7e309380a (diff)
downloadopie-743204c7f71fe785a1876d95c5d880cfdff44592.zip
opie-743204c7f71fe785a1876d95c5d880cfdff44592.tar.gz
opie-743204c7f71fe785a1876d95c5d880cfdff44592.tar.bz2
print out OPacketCapturer version
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opienet/miniwellenreiter/miniwellenreiter.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/opienet/miniwellenreiter/miniwellenreiter.cpp b/examples/opienet/miniwellenreiter/miniwellenreiter.cpp
index ba9d2ca..284b35a 100644
--- a/examples/opienet/miniwellenreiter/miniwellenreiter.cpp
+++ b/examples/opienet/miniwellenreiter/miniwellenreiter.cpp
@@ -57,11 +57,11 @@ public:
}
exit( -1 );
}
- printf( "*******************************************************************\n" );
- printf( "* Wellenreiter mini edition 1.0.0 (C) 2003 Michael 'Mickey' Lauer *\n" );
- printf( "*******************************************************************\n" );
+ printf( "************************************************************************\n" );
+ printf( "* Wellenreiter mini edition 1.0.0 (C) 2003-2005 Michael 'Mickey' Lauer *\n" );
+ printf( "************************************************************************\n" );
printf( "\n\n" );
QString interface( argv[1] );
QString driver( argv[2] );
@@ -123,8 +123,9 @@ public:
wiface->setMode( "monitor" );
// open a packet capturer
cap = new OPacketCapturer();
+ printf( "OPacketCapturer using libpcap %s", (const char*) cap->version() );
cap->open( interface );
if ( !cap->isOpen() )
{
printf( "Unable to open libpcap (%s). Exiting.\n", strerror( errno ) );