diff options
author | pdw <> | 2002-10-10 15:55:59 +0000 |
---|---|---|
committer | pdw <> | 2002-10-10 15:55:59 +0000 |
commit | 3dcbe7a6c18037b53c98414aa12e97f0ce5d5414 (patch) | |
tree | 6e8119da311e5427be86fb21c25d9914b4e906b6 /iftop.c | |
parent | 6da4be8a352ab7f680239e51b7fd52bbe311d14d (diff) | |
download | iftop-3dcbe7a6c18037b53c98414aa12e97f0ce5d5414.zip |
Updated SPEC file.
Updated to version 0.8pre1.
Now compiles with older libpcap (without SLL support).
Further fixes to display of rates.
Diffstat (limited to 'iftop.c')
-rw-r--r-- | iftop.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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" |