Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
libpcap.35577
libpcap-no-old-socket.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libpcap-no-old-socket.patch of Package libpcap.35577
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