libpcap/libpcap-1.0.0-ppp.patch
Petr Uzel d045159f47 - update to libpcap-1.2.1
- Support 802.1 QinQ as a form of VLAN in filters.
  - Treat "carp" as equivalent to "vrrp" in filters.
  - Fix code generated for "ip6 protochain".
  - Add some new link-layer header types.
  - Support capturing NetFilter log messages on Linux.
  - Turn off monitor mode on exit for mac80211 interfaces on Linux.
  - Fix problems turning monitor mode on for non-mac80211 interfaces
  -  on Linux.
  - Properly fail if /sys/class/net or /proc/net/dev exist but can't
  -  be opened.
  - Fail if pcap_activate() is called on an already-activated
  -  pcap_t, and add a test program for that.
  - Fix filtering in pcap-ng files.
  - Simplify handling of new DLT_/LINKTYPE_ values.
  - Expand pcap(3PCAP) man page.
- drop libpcap-fix-calculation-of-frame-size.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=21
2012-01-03 14:53:29 +00:00

13 lines
309 B
Diff

Index: gencode.c
===================================================================
--- gencode.c.orig
+++ gencode.c
@@ -7483,6 +7483,7 @@ gen_inbound(dir)
*/
switch (linktype) {
case DLT_SLIP:
+ case DLT_PPP:
b0 = gen_relation(BPF_JEQ,
gen_load(Q_LINK, gen_loadi(0), 1),
gen_loadi(0),