some 'const' specifications, putting the code to determine the default device
in its own file
This commit is contained in:
@@ -4,7 +4,7 @@ extern "C" {
|
||||
#include "decpcap.h"
|
||||
}
|
||||
|
||||
int process_tcp (u_char * userdata, const dp_header * header, const u_char * m_packet) {
|
||||
int process_tcp (u_char * /* userdata */, const dp_header * /* header */, const u_char * /* m_packet */) {
|
||||
std::cout << "Callback for processing TCP packet called" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user