summaryrefslogtreecommitdiff
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
committerSaul Wold <sgw@linux.intel.com>2012-01-02 20:26:23 -0800
commit2a76f0731f5e2ad4b941197bdf59c66d52ec9131 (patch)
tree5a295631d188234da8cf82a31f4426216d2897e3 /meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch
parent0695487407d25a8d9d25894b20ca1b19a7f55643 (diff)
downloadopenembedded-core-2a76f0731f5e2ad4b941197bdf59c66d52ec9131.tar.gz
openembedded-core-2a76f0731f5e2ad4b941197bdf59c66d52ec9131.tar.bz2
openembedded-core-2a76f0731f5e2ad4b941197bdf59c66d52ec9131.tar.xz
openembedded-core-2a76f0731f5e2ad4b941197bdf59c66d52ec9131.zip
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. Signed-off-by: Shane Wang <shane.wang@intel.com>
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 8041d7a05..000000000
--- a/meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Upstream-Status: Pending
-
-Index: libpcap-1.0.0/pcap-linux.c
-===================================================================
---- libpcap-1.0.0.orig/pcap-linux.c 2009-01-28 11:58:54.000000000 +0300
-+++ libpcap-1.0.0/pcap-linux.c 2009-01-28 11:59:04.000000000 +0300
-@@ -1616,6 +1616,17 @@
- * so let's use "Linux-cooked" mode. Jean II */
- //handle->md.cooked = 1;
- break;
-+#ifndef ARPHRD_IEEE80215
-+#define ARPHRD_IEEE80215 804
-+#endif
-+#ifndef ARPHRD_IEEE80215_PHY
-+#define ARPHRD_IEEE80215_PHY 805
-+#endif
-+
-+ case ARPHRD_IEEE80215:
-+ case ARPHRD_IEEE80215_PHY:
-+ handle->linktype = DLT_IEEE802_15_4;
-+ break;
-
- /* ARPHRD_LAPD is unofficial and randomly allocated, if reallocation
- * is needed, please report it to <daniele@orlandi.com> */