Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
libpcap1
> libpcap-1.0.0-s390.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libpcap-1.0.0-s390.patch of Package libpcap1
Index: pcap-linux.c =================================================================== --- pcap-linux.c.orig 2010-04-06 10:17:29.000000000 +0200 +++ pcap-linux.c 2010-04-06 10:17:51.000000000 +0200 @@ -2865,6 +2865,9 @@ activate_new(pcap_t *handle) else return 0; /* try old mechanism */ } + /* Hack to make things work on s390 ctc interfaces */ + if (strncmp("ctc", device, 3) == 0) + handle->linktype = DLT_EN10MB; } else { /* * The "any" device.