summaryrefslogtreecommitdiffstats
path: root/network/dsniff/patches/22_handlepp.patch
diff options
context:
space:
mode:
author Matteo Bernardini2021-01-30 16:23:40 +0100
committer Matteo Bernardini2021-01-30 16:23:40 +0100
commitc92ee29b17ad2239ce11ddd76134b199ef5a3ed2 (patch)
treeed33817b0ffbb52c85efc59a8ff7282182e7c0b5 /network/dsniff/patches/22_handlepp.patch
parent2e286279c8e562590897ef95d592f0ce4edbce32 (diff)
downloadslackbuilds-current-20210130.1.tar.gz
20210130.1 global branch merge.current-20210130.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/dsniff/patches/22_handlepp.patch')
-rw-r--r--network/dsniff/patches/22_handlepp.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/network/dsniff/patches/22_handlepp.patch b/network/dsniff/patches/22_handlepp.patch
new file mode 100644
index 0000000000..da0a49dbeb
--- /dev/null
+++ b/network/dsniff/patches/22_handlepp.patch
@@ -0,0 +1,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;