Updated SPEC file.

Updated to version 0.8pre1.
Now compiles with older libpcap (without SLL support).
Further fixes to display of rates.
This commit is contained in:
pdw
2002-10-10 15:55:59 +00:00
parent 6da4be8a35
commit 3dcbe7a6c1
5 changed files with 19 additions and 10 deletions

View File

@@ -346,9 +346,14 @@ void packet_init() {
else if(dlt == DLT_RAW) {
packet_handler = handle_raw_packet;
}
/*
* SLL support not available in older libpcaps
*/
#ifdef DLT_LINUX_SLL
else if(dlt == DLT_LINUX_SLL) {
packet_handler = handle_cooked_packet;
packet_handler = handle_cooked_packet;
}
#endif
else {
fprintf(stderr, "Unsupported datalink type: %d\n"
"Please email pdw@ex-parrot.com, quoting the datalink type and what you were\n"