Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:1-MinimalX
libnet
libnet-pf-packet.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libnet-pf-packet.patch of Package libnet
Index: libnet-1.2-rc3/acinclude.m4 =================================================================== --- libnet-1.2-rc3.orig/acinclude.m4 +++ libnet-1.2-rc3/acinclude.m4 @@ -71,13 +71,8 @@ main(int argc, char **argv) fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); if (fd == -1) { - if (errno == EPERM) - { - /* user's UID != 0 */ - printf("probably"); - exit (EXIT_FAILURE); - } - printf("no"); + /* user's UID != 0 */ + printf("probably"); exit (EXIT_FAILURE); } printf("yes");
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