Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:B
libpcap
libpcap-no-old-socket.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libpcap-no-old-socket.patch of Package libpcap
Index: libpcap-1.7.3/pcap-linux.c =================================================================== --- libpcap-1.7.3.orig/pcap-linux.c +++ libpcap-1.7.3/pcap-linux.c @@ -1425,16 +1425,10 @@ pcap_activate_linux(pcap_t *handle) } } else if (ret == 0) { - /* Non-fatal error; try old way */ - if ((ret = activate_old(handle)) != 1) { - /* - * Both methods to open the packet socket failed. - * Tidy up and report our failure (handle->errbuf - * is expected to be set by the functions above). - */ - status = ret; - goto fail; - } + snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, + "af_packet module unavailable, missing a reboot to new kernel?"); + status = PCAP_ERROR; + goto fail; } /*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor