Copy from Base:System/libpcap based on submit request 37038 from user puzel OBS-URL: https://build.opensuse.org/request/show/37038 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpcap?expand=0&rev=23
15 lines
475 B
Diff
15 lines
475 B
Diff
Index: pcap-linux.c
|
|
===================================================================
|
|
--- pcap-linux.c.orig 2010-04-06 10:17:29.000000000 +0200
|
|
+++ pcap-linux.c 2010-04-06 10:17:51.000000000 +0200
|
|
@@ -2865,6 +2865,9 @@ activate_new(pcap_t *handle)
|
|
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 {
|
|
/*
|
|
* The "any" device.
|