1 diff -uNr libpcap-1.0.0.org/pcap-linux.c libpcap-1.0.0/pcap-linux.c
2 --- libpcap-1.0.0.org/pcap-linux.c 2009-04-21 16:39:27.000000000 +0800
3 +++ libpcap-1.0.0/pcap-linux.c 2009-04-21 16:32:23.000000000 +0800
6 return 0; /* try old mechanism */
8 + /* Hack to make things work on s390 ctc interfaces */
9 + if (strncmp("ctc", device, 3) == 0)
10 + handle->linktype = DLT_EN10MB;
13 * This is cooked mode.