- Formatted the specs file using spec-cleaner. - Allow bluetooth monitoring support unconditionally. - update to 1.8.1 * Clean up the name-to-DLT mapping table. * Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS * Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493. * Filter out duplicate looped back CAN frames. * Fix the handling of loopback filters for IPv6 packets. * Add a link-layer header type for RDS (IEC 62106) groups. * On Linux, handle all CAN captures with pcap-linux.c, in cooked mode. * Removes the need for the "host-endian" link-layer header type. * Compile with '-Wused-but-marked-unused' in devel mode if supported * Have separate DLTs for big-endian and host-endian SocketCAN headers. * Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)! * Properly check for sock_recv() errors. * Re-impose some of Winsock's limitations on sock_recv(). * Replace sprintf() with pcap_snprintf(). * Fix signature of pcap_stats_ex_remote(). * Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag. * Clean up {DAG, Septel, Myricom SNF}-only builds. * pcap_create_interface() needs the interface name on Linux. * Clean up hardware time stamp support: the "any" device does not support any time stamp types. * Recognize 802.1ad nested VLAN tag in vlan filter. - dropped libpcap-ocloexec.patch, never upstreamed. - refreshed libpcap-1.0.0-ppp.patch OBS-URL: https://build.opensuse.org/request/show/454184 OBS-URL: https://build.opensuse.org/package/show/Base:System/libpcap?expand=0&rev=52
13 lines
380 B
Diff
13 lines
380 B
Diff
Index: gencode.c
|
|
===================================================================
|
|
--- gencode.c.orig
|
|
+++ gencode.c
|
|
@@ -7549,6 +7549,7 @@ gen_inbound(compiler_state_t *cstate, in
|
|
*/
|
|
switch (cstate->linktype) {
|
|
case DLT_SLIP:
|
|
+ case DLT_PPP:
|
|
b0 = gen_relation(cstate, BPF_JEQ,
|
|
gen_load(cstate, Q_LINK, gen_loadi(cstate, 0), 1),
|
|
gen_loadi(cstate, 0),
|