Update the change log
[profile/ivi/libpcap.git] / packaging / libpcap-s390.patch
1 diff -uNr libpcap-1.0.0.org/pcap-linux.c libpcap-1.0.0/pcap-linux.c
2 --- libpcap-1.0.0.org/pcap-linux.c      2009-04-21 16:39:27.000000000 +0800
3 +++ libpcap-1.0.0/pcap-linux.c  2009-04-21 16:32:23.000000000 +0800
4 @@ -1817,6 +1817,9 @@
5                         else
6                                 return 0;       /* try old mechanism */
7                 }
8 +               /* Hack to make things work on s390 ctc interfaces */
9 +               if (strncmp("ctc", device, 3) == 0)
10 +                       handle->linktype = DLT_EN10MB;
11         } else {
12                 /*
13                  * This is cooked mode.