aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dsniff/22_handlepp.patch
blob: e4a4d22218fe87d4b0ca91bbb4ef0b47b05aec06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Joerg Dorchain <joerg@dorchain.net>
Description: Add tcpkill support for handle ppp interfaces.
--- a/pcaputil.c	2011-06-19 17:13:44.419999392 -0500
+++ b/pcaputil.c	2011-06-19 17:15:41.607999368 -0500
@@ -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;