2010-09-16 10:22:35 +00:00
|
|
|
Index: pcap-linux.c
|
|
|
|
===================================================================
|
2012-01-03 14:53:29 +00:00
|
|
|
--- pcap-linux.c.orig
|
|
|
|
+++ pcap-linux.c
|
|
|
|
@@ -3092,6 +3092,9 @@ activate_new(pcap_t *handle)
|
2008-09-05 19:34:28 +00:00
|
|
|
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 {
|
|
|
|
/*
|
2010-09-16 10:22:35 +00:00
|
|
|
* The "any" device.
|