diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2013-06-05 18:09:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-07 16:48:29 +0100 |
commit | 03fdd2c26ca90334f8a11cee3b35adf76d88caa1 (patch) | |
tree | 3f9e66088599d98d7fedc7e3b88a796351fc8ee6 /meta/recipes-connectivity/libpcap/libpcap/ieee80215-arphrd.patch | |
parent | d3e982a6c49e1df631b6326710b216f23dca221c (diff) | |
download | poky-03fdd2c26ca90334f8a11cee3b35adf76d88caa1.tar.gz |
libpcap: upgrade to 1.4.0
0001-Fix-disable-canusb.patch,
0001-The-leading-comma-looked-weird-remove-it.patch,
0001-canusb-needs-lpthread.patch patches included in
upstream, no longer needed.
(From OE-Core rev: 329e73e56b227c5c9fb00e2201fdf1099607b473)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap/ieee80215-arphrd.patch')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap/ieee80215-arphrd.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap/ieee80215-arphrd.patch b/meta/recipes-connectivity/libpcap/libpcap/ieee80215-arphrd.patch new file mode 100644 index 0000000000..2f5cd213bc --- /dev/null +++ b/meta/recipes-connectivity/libpcap/libpcap/ieee80215-arphrd.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: libpcap-1.0.0/pcap-linux.c | ||
4 | =================================================================== | ||
5 | --- libpcap-1.0.0.orig/pcap-linux.c 2009-01-28 11:58:54.000000000 +0300 | ||
6 | +++ libpcap-1.0.0/pcap-linux.c 2009-01-28 11:59:04.000000000 +0300 | ||
7 | @@ -1616,6 +1616,17 @@ | ||
8 | * so let's use "Linux-cooked" mode. Jean II */ | ||
9 | //handle->md.cooked = 1; | ||
10 | break; | ||
11 | +#ifndef ARPHRD_IEEE80215 | ||
12 | +#define ARPHRD_IEEE80215 805 | ||
13 | +#endif | ||
14 | +#ifndef ARPHRD_IEEE80215_PHY | ||
15 | +#define ARPHRD_IEEE80215_PHY 806 | ||
16 | +#endif | ||
17 | + | ||
18 | + case ARPHRD_IEEE80215: | ||
19 | + case ARPHRD_IEEE80215_PHY: | ||
20 | + handle->linktype = DLT_IEEE802_15_4; | ||
21 | + break; | ||
22 | |||
23 | /* ARPHRD_LAPD is unofficial and randomly allocated, if reallocation | ||
24 | * is needed, please report it to <daniele@orlandi.com> */ | ||