blob: da0a49dbeb3fb640bedbf7be0901d095138e5bc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Author: Joerg Dorchain <joerg@dorchain.net>
Description: Add tcpkill support for handle ppp interfaces.
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/pcaputil.c
+++ b/pcaputil.c
@@ -52,6 +52,9 @@
case DLT_NULL:
offset = 4;
break;
+ case DLT_LINUX_SLL: /* e.g. ppp */
+ offset = 16;
+ break;
default:
warnx("unsupported datalink type");
break;
|