summaryrefslogtreecommitdiff
path: root/iftop.c
diff options
context:
space:
mode:
authorpdw <>2004-02-28 18:53:37 +0000
committerpdw <>2004-02-28 18:53:37 +0000
commit4327f0ef4d7235f75f36451f09d8ec9dda2e9826 (patch)
tree79f7a9440930c7c6add1a58c3bcde30ba5f1a27c /iftop.c
parente6cd8bdbee339e91892ba0974438323b2a7fc3f6 (diff)
downloadiftop-4327f0ef4d7235f75f36451f09d8ec9dda2e9826.zip
Added support for DLT_NULL
0.16
Diffstat (limited to 'iftop.c')
-rw-r--r--iftop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iftop.c b/iftop.c
index 6dc8a8f..c0f95fc 100644
--- a/iftop.c
+++ b/iftop.c
@@ -481,7 +481,7 @@ void packet_init() {
if(dlt == DLT_EN10MB) {
packet_handler = handle_eth_packet;
}
- else if(dlt == DLT_RAW) {
+ else if(dlt == DLT_RAW || dlt == DLT_NULL) {
packet_handler = handle_raw_packet;
}
else if(dlt == DLT_IEEE802) {