2010-04-07 16:04:26 +00:00
|
|
|
--- pcap-linux.c
|
|
|
|
+++ pcap-linux.c
|
|
|
|
@@ -1752,6 +1752,9 @@
|
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-04-07 16:04:26 +00:00
|
|
|
* This is cooked mode.
|