summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2011-12-23 14:27:24 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-03 12:14:23 +0000
commit1d5f9896d19716ccdd9d412502d90bb804059317 (patch)
tree15ae8f5444df8a4b5914d78062f3158f8fd06fce /meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch
parent940c1ad0581e03b479b956261904368b9af4fd5f (diff)
downloadpoky-1d5f9896d19716ccdd9d412502d90bb804059317.tar.gz
libpcap: upgrade to 1.2.0
This patch is to upgrade libpcap to 1.2.0. The values of the macro definitions are duplicated with the new code, so change them into other values. (From OE-Core rev: 2a76f0731f5e2ad4b941197bdf59c66d52ec9131) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch b/meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch
deleted file mode 100644
index 8041d7a057..0000000000
--- a/meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1Upstream-Status: Pending
2
3Index: 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 804
13+#endif
14+#ifndef ARPHRD_IEEE80215_PHY
15+#define ARPHRD_IEEE80215_PHY 805
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> */