diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2012-07-24 08:36:57 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-26 14:47:00 +0100 |
commit | 3f0cc742ea5d4788df26bb0592c294e5a67e1093 (patch) | |
tree | fa794d82e6fdca1da158cc92589d9157b8bb75db /meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch | |
parent | 2afc6203baec508043d5ad672756b527f9d81111 (diff) | |
download | openembedded-core-3f0cc742ea5d4788df26bb0592c294e5a67e1093.tar.gz |
libpcap: upgrade to ver. 1.3
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch')
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch new file mode 100644 index 0000000000..2f5cd213bc --- /dev/null +++ b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch @@ -0,0 +1,24 @@ +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 805 ++#endif ++#ifndef ARPHRD_IEEE80215_PHY ++#define ARPHRD_IEEE80215_PHY 806 ++#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> */ |