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:
7
iftop.c
7
iftop.c
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user