-rw-r--r-- | examples/opienet/miniwellenreiter/miniwellenreiter.cpp | 7 |
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: | |||
57 | } | 57 | } |
58 | exit( -1 ); | 58 | exit( -1 ); |
59 | } | 59 | } |
60 | 60 | ||
61 | printf( "*******************************************************************\n" ); | 61 | printf( "************************************************************************\n" ); |
62 | printf( "* Wellenreiter mini edition 1.0.0 (C) 2003 Michael 'Mickey' Lauer *\n" ); | 62 | printf( "* Wellenreiter mini edition 1.0.0 (C) 2003-2005 Michael 'Mickey' Lauer *\n" ); |
63 | printf( "*******************************************************************\n" ); | 63 | printf( "************************************************************************\n" ); |
64 | printf( "\n\n" ); | 64 | printf( "\n\n" ); |
65 | 65 | ||
66 | QString interface( argv[1] ); | 66 | QString interface( argv[1] ); |
67 | QString driver( argv[2] ); | 67 | QString driver( argv[2] ); |
@@ -123,8 +123,9 @@ public: | |||
123 | wiface->setMode( "monitor" ); | 123 | wiface->setMode( "monitor" ); |
124 | 124 | ||
125 | // open a packet capturer | 125 | // open a packet capturer |
126 | cap = new OPacketCapturer(); | 126 | cap = new OPacketCapturer(); |
127 | printf( "OPacketCapturer using libpcap %s", (const char*) cap->version() ); | ||
127 | cap->open( interface ); | 128 | cap->open( interface ); |
128 | if ( !cap->isOpen() ) | 129 | if ( !cap->isOpen() ) |
129 | { | 130 | { |
130 | printf( "Unable to open libpcap (%s). Exiting.\n", strerror( errno ) ); | 131 | printf( "Unable to open libpcap (%s). Exiting.\n", strerror( errno ) ); |