89ba97
diff -up libpcap-1.5.0/pcap-linux.c.s390 libpcap-1.5.0/pcap-linux.c
89ba97
--- libpcap-1.5.0/pcap-linux.c.s390	2013-11-08 08:05:02.608387300 +0100
89ba97
+++ libpcap-1.5.0/pcap-linux.c	2013-11-08 08:08:49.597405024 +0100
89ba97
@@ -3181,6 +3181,10 @@ activate_new(pcap_t *handle)
89ba97
 				handle->linktype = DLT_LINUX_SLL;
89ba97
 		}
89ba97
 
89ba97
+		/* Hack to make things work on s390 ctc interfaces */
89ba97
+		if (strncmp("ctc", device, 3) == 0)
89ba97
+			handle->linktype = DLT_EN10MB;
89ba97
+
89ba97
 		handlep->ifindex = iface_get_id(sock_fd, device,
89ba97
 		    handle->errbuf);
89ba97
 		if (handlep->ifindex == -1) {