]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libpcap: Add patch for better ppp support.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Apr 2010 15:11:42 +0000 (17:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Apr 2010 15:11:42 +0000 (17:11 +0200)
pkgs/core/libpcap/patches/libpcap-0.8.3-ppp.patch [new file with mode: 0644]

diff --git a/pkgs/core/libpcap/patches/libpcap-0.8.3-ppp.patch b/pkgs/core/libpcap/patches/libpcap-0.8.3-ppp.patch
new file mode 100644 (file)
index 0000000..44367a1
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/gencode.c.old    2004-06-21 19:43:24.611308762 +0100
++++ b/gencode.c        2004-06-21 19:43:34.851140716 +0100
+@@ -5004,6 +5004,7 @@
+        */
+       switch (linktype) {
+       case DLT_SLIP:
++      case DLT_PPP:
+               b0 = gen_relation(BPF_JEQ,
+                         gen_load(Q_LINK, gen_loadi(0), 1),
+                         gen_loadi(0),