cc1bd62
--- libpcap-0.7.2/pcap-linux.c.s390	2003-02-26 07:45:32.000000000 +0100
cc1bd62
+++ libpcap-0.7.2/pcap-linux.c	2003-02-27 16:48:48.000000000 +0100
cc1bd62
@@ -1214,6 +1214,9 @@
cc1bd62
 					fatal_err = 1;
cc1bd62
 				break;
cc1bd62
 			}
cc1bd62
+		/* Hack to make things work on s390 ctc interfaces */
cc1bd62
+		if (strncmp("ctc", device, 3) == 0)
cc1bd62
+			handle->linktype = DLT_EN10MB;
cc1bd62
 		} else {
cc1bd62
 			/*
cc1bd62
 			 * This is cooked mode.