dumpfiles created with dump_open are not closed
properly, because the pcap_dump_close function is not
wrapped, and thus the dumpfile contains only some
Logged In: NO
Hello, I run into the same problem with the open_live function. After a while I found out the problem but I'm not sure where I should report it.
The pcap_dump_close or pcap_close function are properly wrapped into the destructor of the class. However, the destructor is written as follow in the pcap.i file line:
For some reason, swig only considers it as a destructor if is written like:
If you make that change and re-install the code, it will work just fine.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.